Changeset 16498
- Timestamp:
- 11/20/2010 01:23:44 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-plugins-list-table.php
r16438 r16498 85 85 foreach ( (array) $plugins['all'] as $plugin_file => $plugin_data ) { 86 86 // Filter into individual sections 87 if ( is_plugin_active_for_network($plugin_file) && !$screen->is_network ) { 87 if ( is_multisite() && is_network_only_plugin( $plugin_file ) && !$screen->is_network ) { 88 unset( $plugins['all'][ $plugin_file] ); 89 } elseif ( is_plugin_active_for_network($plugin_file) && !$screen->is_network ) { 88 90 unset( $plugins['all'][ $plugin_file ] ); 89 continue;90 91 } elseif ( is_multisite() && is_network_only_plugin( $plugin_file ) && !current_user_can( 'manage_network_plugins' ) ) { 91 92 $plugins['network'][ $plugin_file ] = $plugin_data;
Note: See TracChangeset
for help on using the changeset viewer.