Changeset 3239
- Timestamp:
- 09/07/2010 09:58:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r3232 r3239 436 436 foreach( (array) $bp->bp_nav as $nav_item ) { 437 437 /* If the current component matches the nav item id, then add a highlight CSS class. */ 438 if ( $bp->active_components[$bp->current_component] == $nav_item['css_id'] ) {438 if ( !bp_is_directory() && $bp->active_components[$bp->current_component] == $nav_item['css_id'] ) 439 439 $selected = ' class="current selected"'; 440 } else {440 else 441 441 $selected = ''; 442 }443 442 444 443 /* If we are viewing another person (current_userid does not equal loggedin_user->id)
Note: See TracChangeset
for help on using the changeset viewer.