Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/13/2017 07:07:01 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Users: more bbp_get_current_user_id() usages, and docs to explain why it's not used in some places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/update.php

    r6232 r6241  
    386386    }
    387387
    388     // Get the current user ID
     388    // Cannot use bbp_get_current_user_id() here, during activation process
    389389    $user_id = get_current_user_id();
     390
     391    // Get the current blog ID, to know if they should be promoted here
    390392    $blog_id = get_current_blog_id();
    391393
Note: See TracChangeset for help on using the changeset viewer.