Ticket #36704: 36704-no-bulk-delete.diff
File 36704-no-bulk-delete.diff, 623 bytes (added by , 8 years ago) |
---|
-
trunk/wp-admin/includes/class-wp-plugins-list-table.php
423 423 if ( !is_multisite() || $this->screen->in_admin( 'network' ) ) { 424 424 if ( current_user_can( 'update_plugins' ) ) 425 425 $actions['update-selected'] = __( 'Update' ); 426 if ( current_user_can( 'delete_plugins' ) && ( 'active' != $status ) )427 $actions['delete-selected'] = __( 'Delete' );428 426 } 429 427 430 428 return $actions;