mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-24 15:24:36 +00:00
Network plugin activation cleanup. Props nacin. see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -477,8 +477,8 @@ function print_plugins_table($plugins, $context = '') {
|
||||
}
|
||||
foreach ( (array)$plugins as $plugin_file => $plugin_data) {
|
||||
$actions = array();
|
||||
$is_active = is_plugin_active($plugin_file);
|
||||
$is_active_for_network = is_plugin_active_for_network($plugin_file);
|
||||
$is_active = $is_active_for_network || is_plugin_active( $plugin_file );
|
||||
|
||||
if ( $is_active_for_network && !is_super_admin() )
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user