Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/02/2020 07:25:21 PM (4 years ago)
Author:
imath
Message:

Make sure the Group Types admin menu is generated once on Multisite

When BuddyPress is activated on a sub site of the Network, the Groups admin page is directly available from this sub site administration. We don't need to generate a new Groups admin menu redirecting to the Network administration.

Fixes #8372

File:
1 edited

Legend:

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

    r12731 r12738  
    7777        );
    7878    } elseif ( ! is_network_admin() ) {
    79         if ( is_multisite() ) {
     79        if ( is_multisite() && bp_is_root_blog( get_current_network_id() ) ) {
    8080            // Adds a 'bp-groups' menu to the root blog menu.
    8181            $redirect_hook = add_menu_page(
Note: See TracChangeset for help on using the changeset viewer.