Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/06/2016 01:11:09 AM (9 years ago)
Author:
djpaul
Message:

Emails: only register post type and taxonomy on root site.

Prevent the post type appearing on non-root site wp-admin screen in a
network-activated multisite configuration, while retaining single-site
and multiblog compatibility.

A subsequent change will add support for these items to the network
admin for network-activated multisite configuration.

See #6592

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-core.php

    r10518 r10536  
    299299
    300300        // Emails
    301         if ( bp_is_root_blog() ) {
     301        if ( bp_is_root_blog() && ! is_network_admin() ) {
    302302            register_post_type(
    303303                bp_get_email_post_type(),
Note: See TracChangeset for help on using the changeset viewer.