Skip to:
Content

BuddyPress.org

Changeset 10411


Ignore:
Timestamp:
12/17/2015 02:20:22 PM (6 years ago)
Author:
djpaul
Message:

Members wp-admin: only show "Manage Signups" when appropriate.

Using BuddyPress on a multisite but only activated on the root blog
caused an invalid link when inside the Network Admin screens (it was a
Network Admin URL rather than site-specific).

This menu should only be displayed at the level where BuddyPress is
displayed.

Fixes #6360, props imath

File:
1 edited

Legend:

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

    r10357 r10411  
    414414
    415415        // Only show sign-ups where they belong.
    416         if ( ! is_multisite() || is_network_admin() ) {
     416        if ( ( ! bp_is_network_activated() && ! is_network_admin() ) || ( is_network_admin() && bp_is_network_activated() ) ) {
    417417
    418418            // Manage signups.
Note: See TracChangeset for help on using the changeset viewer.