Changeset 5758 for trunk/bp-members/bp-members-template.php
- Timestamp:
- 02/13/2012 05:46:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-template.php
r5729 r5758 706 706 707 707 // If the current component matches the nav item id, then add a highlight CSS class. 708 if ( !bp_is_directory() && $bp->active_components[ $bp->current_component] == $nav_item['css_id'] ) {708 if ( !bp_is_directory() && $bp->active_components[bp_current_component()] == $nav_item['css_id'] ) { 709 709 $selected = ' class="current selected"'; 710 710 } … … 751 751 752 752 $selected = ''; 753 if ( $bp->current_component == $user_nav_item['slug']) {753 if ( bp_is_current_component( $user_nav_item['slug'] ) ) { 754 754 $selected = ' class="current selected"'; 755 755 }
Note: See TracChangeset
for help on using the changeset viewer.