From a7249bfee8cbf1437cd6433c2aa5259f353be693 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 28 Jun 2012 20:05:15 +0000 Subject: [PATCH] Move the 'Delete' bulk action to the bottom in the network themes list tables. Symmetry with the plugins list tables. props trepmal. fixes #21032. git-svn-id: http://core.svn.wordpress.org/trunk@21164 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-ms-themes-list-table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-ms-themes-list-table.php b/wp-admin/includes/class-wp-ms-themes-list-table.php index 9fc3251d70..f5dc6b4c04 100644 --- a/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -240,10 +240,10 @@ class WP_MS_Themes_List_Table extends WP_List_Table { if ( 'disabled' != $status ) $actions['disable-selected'] = $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' ); if ( ! $this->is_site_themes ) { - if ( current_user_can( 'delete_themes' ) ) - $actions['delete-selected'] = __( 'Delete' ); if ( current_user_can( 'update_themes' ) ) $actions['update-selected'] = __( 'Update' ); + if ( current_user_can( 'delete_themes' ) ) + $actions['delete-selected'] = __( 'Delete' ); } return $actions; }