WordPress.org

Ready to get started?Download WordPress

Forums

Proper Network Activation
Not working on WPMU with multiple domain names (4 posts)

  1. Larysa Mykhas
    Member
    Posted 3 years ago #

    We have WPMU with multiple domain names.

    If we activate Proper Network Activation on one domain, Netowrk wise, it is still inactive on the other domains.

    Adding it to mu-plugins did not help. The same effect.

    Removing check in function get_active_blogs for site_id also did not help.

    return $wpdb->get_col( "
    SELECT blog_id
    FROM $wpdb->blogs
    WHERE deleted = 0
    " );

    // return $wpdb->get_col( "
    // SELECT blog_id
    // FROM $wpdb->blogs
    // WHERE site_id = '{$wpdb->siteid}'
    // AND deleted = 0
    // " );

    It looks like, plugins still need to be managed on domain basis.

    http://wordpress.org/extend/plugins/proper-network-activation/

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    > We have WPMU with multiple domain names.

    Do you mean multiple networks? (network = site, in the old WPMU vernacular)

    If so, you have to network activate PNA on each.

  3. Larysa Mykhas
    Member
    Posted 3 years ago #

    What we have is few networks indeed. I called them sites because they are stored in wp_sites. The issue with networks, is that they don't have global options. Each network does not share it with the other. Figured out how to deal with it, but this is another story.

    In any case, Proper Network Activation is very crucial for Front-End Editor, if Proper Network Activation is not used, plugin is not initialised properly.

  4. Larysa Mykhas
    Member
    Posted 3 years ago #

    If you happen to write a plugin or know one, which activates/deactivesplugins across _all_ networks - I will be entirely gratful for that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic