Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4/wp-admin/includes/class-wp-plugins-list-table.php

    r20853 r21741  
    9191        foreach ( (array) $plugins['all'] as $plugin_file => $plugin_data ) {
    9292            // Filter into individual sections
    93             if ( ! $screen->is_network && is_plugin_active_for_network( $plugin_file ) ) {
     93            if ( is_multisite() && ! $screen->is_network && is_network_only_plugin( $plugin_file ) ) {
     94                unset( $plugins['all'][ $plugin_file ] );
     95            } elseif ( ! $screen->is_network && is_plugin_active_for_network( $plugin_file ) ) {
    9496                unset( $plugins['all'][ $plugin_file ] );
    9597            } elseif ( ( ! $screen->is_network && is_plugin_active( $plugin_file ) )
Note: See TracChangeset for help on using the changeset viewer.