Ticket #12139: 12139.4.diff
File 12139.4.diff, 1.0 KB (added by , 15 years ago) |
---|
-
wp-admin/plugins.php
491 491 $actions[] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page, 'deactivate-plugin_' . $plugin_file) . '" title="' . __('Deactivate this plugin') . '">' . __('Deactivate') . '</a>'; 492 492 } 493 493 } else { 494 if ( is_ network_only_plugin( $plugin_file ) )494 if ( is_multisite() && is_network_only_plugin( $plugin_file ) ) 495 495 $actions[] = '<span title="' . __('This plugin can only be activated for all sites in a network') . '">' . __('Network Only') . '</span>'; 496 496 else 497 497 $actions[] = '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page, 'activate-plugin_' . $plugin_file) . '" title="' . __('Activate this plugin') . '" class="edit">' . __('Activate') . '</a>';