Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2011 03:28:18 PM (11 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-xprofile/bp-xprofile-loader.php

    r4273 r4281  
    111111        global $bp;
    112112
     113        // Stop if there is no user displayed
     114        if ( empty( $bp->displayed_user->id ) )
     115            return;
     116
    113117        // Add 'Profile' to the main navigation
    114118        $main_nav = array(
Note: See TracChangeset for help on using the changeset viewer.