]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/plugin.php
WordPress 3.4.2-scripts
[autoinstalls/wordpress.git] / wp-admin / includes / plugin.php
index 89ebdea83d4efdfb6525cb5dc650f7624449d60a..083b5c429dfd2adf8dde292cd5f3a39003c9bfc6 100644 (file)
@@ -521,6 +521,7 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
        if ( is_multisite() && ( $network_wide || is_network_only_plugin($plugin) ) ) {
                $network_wide = true;
                $current = get_site_option( 'active_sitewide_plugins', array() );
+               $_GET['networkwide'] = 1; // Back compat for plugins looking for this value.
        } else {
                $current = get_option( 'active_plugins', array() );
        }