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-messages/bp-messages-loader.php

    r4211 r4281  
    9393        global $bp;
    9494
     95        // Stop if there is no user displayed
     96        if ( empty( $bp->displayed_user->id ) )
     97            return;
     98
    9599        if ( $count = messages_get_unread_count() )
    96100            $name = sprintf( __( 'Messages <strong>(%s)</strong>', 'buddypress' ), $count );
Note: See TracChangeset for help on using the changeset viewer.