Changeset 6152
- Timestamp:
- 06/29/2012 09:58:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-template.php
r6124 r6152 704 704 705 705 // If the current component matches the nav item id, then add a highlight CSS class. 706 if ( !bp_is_directory() && $bp->active_components[bp_current_component()] == $nav_item['css_id'] ) {706 if ( !bp_is_directory() && !empty( $bp->active_components[bp_current_component()] ) && $bp->active_components[bp_current_component()] == $nav_item['css_id'] ) { 707 707 $selected = ' class="current selected"'; 708 708 }
Note: See TracChangeset
for help on using the changeset viewer.