Skip to:
Content

BuddyPress.org

Changeset 8162


Ignore:
Timestamp:
03/26/2014 07:52:56 PM (10 years ago)
Author:
boonebgorges
Message:

Only load the WordPress/Community Profile tabs in user-edit.php when appropriate

They should not be loaded outside the network admin when bp_core_do_network_admin()
is true.

Fixes #5464

Props imath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-admin.php

    r8161 r8162  
    295295
    296296        if ( empty( $user->ID ) ) {
     297            return;
     298        }
     299
     300        // Don't display here if this is not where other BP
     301        // administration takes place
     302        if ( bp_core_do_network_admin() && ! is_network_admin() ) {
    297303            return;
    298304        }
Note: See TracChangeset for help on using the changeset viewer.