Changeset 4006 for trunk/bp-core/bp-core-template.php
- Timestamp:
- 02/02/2011 07:01:14 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r4004 r4006 22 22 $component_index = !empty( $bp->displayed_user ) ? $bp->current_component : bp_get_root_slug( $bp->current_component ); 23 23 24 if ( count( $bp->bp_options_nav[$component_index] ) < 1 )24 if ( !isset( $bp->bp_options_nav[$component_index] ) || count( $bp->bp_options_nav[$component_index] ) < 1 ) 25 25 return false; 26 26 … … 979 979 global $bp; 980 980 981 if ( bp_is_current_component( 'xprofile' ) )981 if ( bp_is_current_component( 'xprofile' ) || bp_is_current_component( 'profile' ) ) 982 982 return true; 983 983
Note: See TracChangeset
for help on using the changeset viewer.