Changeset 3554
- Timestamp:
- 10/30/2011 04:18:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-common-template.php
r3553 r3554 475 475 * bbPress::displayed_user::ID equals bbPress::current_user::ID 476 476 * or not 477 * @uses is_user_logged_in() Must be logged in to be home 477 478 * @return bool True if it's the user's home, false if not 478 479 */ … … 483 484 $retval = false; 484 485 485 if ( !empty( $bbp->displayed_user ) )486 if ( !empty( $bbp->displayed_user ) && is_user_logged_in() ) 486 487 $retval = (bool) ( bbp_get_displayed_user_id() == bbp_get_current_user_id() ); 487 488
Note: See TracChangeset
for help on using the changeset viewer.