WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/20/2010 04:09:55 PM (11 years ago)
Author:
nacin
Message:

Add some more network admin logic to the plugins list table. fixes #15166.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/default-list-tables.php

    r15843 r15870  
    33073307            } elseif ( is_multisite() && is_network_only_plugin( $plugin_file ) && !current_user_can( 'manage_network_plugins' ) ) {
    33083308                $plugins['network'][ $plugin_file ] = $plugin_data;
    3309             } elseif ( is_plugin_active( $plugin_file ) ) {
     3309            } elseif ( ( !is_network_admin() && is_plugin_active( $plugin_file ) )
     3310                || ( is_network_admin() && is_plugin_active_for_network( $plugin_file ) ) ) {
    33103311                $plugins['active'][ $plugin_file ] = $plugin_data;
    33113312            } else {
Note: See TracChangeset for help on using the changeset viewer.