'Network Activate' should be the bulk action on network/plugins.php, to match the action link. props ampt, fixes #19946.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-02-29 21:52:27 +00:00
parent a48a695ba7
commit f11938fde4
1 changed files with 2 additions and 2 deletions

View File

@ -249,11 +249,11 @@ class WP_Plugins_List_Table extends WP_List_Table {
if ( 'active' != $status ) { if ( 'active' != $status ) {
$action = $screen->is_network ? 'network-activate-selected' : 'activate-selected'; $action = $screen->is_network ? 'network-activate-selected' : 'activate-selected';
$actions[ $action ] = __( 'Activate' ); $actions[ $action ] = $screen->is_network ? __( 'Network Activate' ) : __( 'Activate' );
} }
if ( 'inactive' != $status && 'recent' != $status ) if ( 'inactive' != $status && 'recent' != $status )
$actions['deactivate-selected'] = __( 'Deactivate' ); $actions['deactivate-selected'] = $screen->is_network ? __( 'Network Deactivate' ) : __( 'Deactivate' );
if ( !is_multisite() || $screen->is_network ) { if ( !is_multisite() || $screen->is_network ) {
if ( current_user_can( 'update_plugins' ) ) if ( current_user_can( 'update_plugins' ) )