Changeset 2048
- Timestamp:
- 10/22/2009 12:13:09 PM (16 years ago)
- File:
-
- 1 edited
-
branches/1.1/bp-core.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/bp-core.php
r2047 r2048 630 630 ); 631 631 632 /*** 633 * If this nav item is hidden for the displayed user, and 634 * the logged in user is not the displayed user 635 * looking at their own profile, don't create the nav item. 636 */ 637 if ( !$show_for_displayed_user && !bp_is_home() ) 638 return false; 639 632 640 /*** 633 * If we are not viewing a user, and this is a root component, don't attach the634 * default subnav function so we can display a directory or something else.635 */641 * If we are not viewing a user, and this is a root component, don't attach the 642 * default subnav function so we can display a directory or something else. 643 */ 636 644 if ( bp_core_is_root_component( $slug ) && !$bp->displayed_user->id ) 637 645 return;
Note: See TracChangeset
for help on using the changeset viewer.