Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/13/2020 04:02:38 PM (4 years ago)
Author:
imath
Message:

BP Types: use regular admin menu links when multiblog mode is on

For multisite configs defining the BP_ENABLE_MULTIBLOG constant to true, Admin menus for BP Types need to use regular admin links instead of network admin ones.

Props shawfactor

Fixes #8411 (Branch 7.0)

File:
1 edited

Legend:

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

    r12775 r12825  
    2424    }
    2525
    26     if ( bp_is_network_activated() && is_network_admin() ) {
     26    if ( bp_is_network_activated() && ! bp_is_multiblog_mode() && is_network_admin() ) {
    2727        // Adds a users.php submenu to go to the root blog Member types screen.
    2828        $member_type_admin_url = add_query_arg( 'taxonomy', bp_get_member_type_tax_name(), get_admin_url( bp_get_root_blog_id(), 'edit-tags.php' ) );
Note: See TracChangeset for help on using the changeset viewer.