Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/17/2010 08:02:09 PM (17 years ago)
Author:
apeatling
Message:

Making sure the options_nav is always present for plugins, but stopping the displayed_user nav showing in the new default when not logged in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-templatetags.php

    r2312 r2321  
    538538                }
    539539        } else {
    540                 /* If we get here we are viewing another user, so show the displayed user's nav items */
    541                 bp_get_displayed_user_nav();
     540                /* If we're using the classic template structure, show the displayed user nav instead */
     541                if ( 'bp-sn-parent' == basename( TEMPLATEPATH ) || defined( 'BP_CLASSIC_TEMPLATE_STRUCTURE' ) )
     542                        bp_get_displayed_user_nav();
    542543        }
    543544}
Note: See TracChangeset for help on using the changeset viewer.