Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/13/2020 04:00:36 PM (13 months 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

See #8411 (Trunk)

File:
1 edited

Legend:

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

    r12775 r12824  
    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.