WordPress.org

Make WordPress Core

Ticket #19946: 19946.diff

File 19946.diff, 875 bytes (added by ampt, 2 years ago)
  • wp-admin/includes/class-wp-plugins-list-table.php

     
    249249 
    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 ) { 
    259259                        if ( current_user_can( 'update_plugins' ) )