Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2016 02:29:55 PM (10 years ago)
Author:
djpaul
Message:

Emails: fix "reinstall emails" tool when run from Network Admin.

Similar to r10580, we needed to make sure the email type taxonomy is registered when we switch_to_blog to run the reinstall emails tool on the correct site.

Fixes #6891

File:
1 edited

Legend:

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

    r10580 r10581  
    2727
    2828    // Email type.
    29     if ( bp_is_root_blog() && ! is_network_admin() ) {
     29    if ( bp_is_root_blog() ) {
    3030        register_taxonomy(
    3131            bp_get_email_tax_type(),
Note: See TracChangeset for help on using the changeset viewer.