Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2011 03:28:18 PM (14 years ago)
Author:
djpaul
Message:

Fix handling of certain subnav URLs in core, xprofile, friends, members, activity, settings, blogs and message components. See #3176

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-loader.php

    r4211 r4281  
    9292    function _setup_nav() {
    9393        global $bp;
     94
     95        // Stop if there is no user displayed
     96        if ( empty( $bp->displayed_user->id ) )
     97            return;
    9498
    9599        // Add 'Friends' to the main navigation
Note: See TracChangeset for help on using the changeset viewer.