Changeset 6241
- Timestamp:
- 01/13/2017 07:07:01 PM (9 years ago)
- Location:
- trunk/src/includes/core
- Files:
-
- 2 edited
-
template-functions.php (modified) (1 diff)
-
update.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/template-functions.php
r6197 r6241 597 597 598 598 // User is looking at their own profile 599 if ( get_current_user_id() === $the_user->ID ) {599 if ( bbp_get_current_user_id() === $the_user->ID ) { 600 600 $posts_query->bbp_is_single_user_home = true; 601 601 } -
trunk/src/includes/core/update.php
r6232 r6241 386 386 } 387 387 388 // Get the current user ID388 // Cannot use bbp_get_current_user_id() here, during activation process 389 389 $user_id = get_current_user_id(); 390 391 // Get the current blog ID, to know if they should be promoted here 390 392 $blog_id = get_current_blog_id(); 391 393
Note: See TracChangeset
for help on using the changeset viewer.