'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:
parent
a48a695ba7
commit
f11938fde4
|
@ -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' ) )
|
||||||
|
|
Loading…
Reference in New Issue