'Network Activate' should be the bulk action on network/plugins.php, to match the action link. props ampt, fixes #19946.
git-svn-id: https://develop.svn.wordpress.org/trunk@20046 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5bab3555d7
commit
d7b7ac8c1b
|
@ -249,11 +249,11 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
|||
|
||||
if ( 'active' != $status ) {
|
||||
$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 )
|
||||
$actions['deactivate-selected'] = __( 'Deactivate' );
|
||||
$actions['deactivate-selected'] = $screen->is_network ? __( 'Network Deactivate' ) : __( 'Deactivate' );
|
||||
|
||||
if ( !is_multisite() || $screen->is_network ) {
|
||||
if ( current_user_can( 'update_plugins' ) )
|
||||
|
|
Loading…
Reference in New Issue