WordPress.org

Make WordPress Core

Changeset 20046


Ignore:
Timestamp:
02/29/12 21:52:27 (2 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-plugins-list-table.php

    r19712 r20046  
    250250        if ( 'active' != $status ) { 
    251251            $action = $screen->is_network ? 'network-activate-selected' : 'activate-selected'; 
    252             $actions[ $action ] = __( 'Activate' ); 
     252            $actions[ $action ] = $screen->is_network ? __( 'Network Activate' ) : __( 'Activate' ); 
    253253        } 
    254254 
    255255        if ( 'inactive' != $status && 'recent' != $status ) 
    256             $actions['deactivate-selected'] = __( 'Deactivate' ); 
     256            $actions['deactivate-selected'] = $screen->is_network ? __( 'Network Deactivate' ) : __( 'Deactivate' ); 
    257257 
    258258        if ( !is_multisite() || $screen->is_network ) { 
Note: See TracChangeset for help on using the changeset viewer.