Skip to:
Content

BuddyPress.org

Changeset 3238


Ignore:
Timestamp:
09/07/2010 09:54:21 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2622 (1.2 branch) props gzeidan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core/bp-core-templatetags.php

    r3210 r3238  
    516516    foreach( (array) $bp->bp_nav as $nav_item ) {
    517517        /* If the current component matches the nav item id, then add a highlight CSS class. */
    518         if ( !bp_is_directory && $bp->active_components[$bp->current_component] == $nav_item['css_id'] )
     518        if ( !bp_is_directory() && $bp->active_components[$bp->current_component] == $nav_item['css_id'] )
    519519            $selected = ' class="current selected"';
    520520        else
Note: See TracChangeset for help on using the changeset viewer.