From c79e18467bffc6a0c3dad84c1e546ad2134ab2be Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 18 Apr 2010 17:43:16 +0000 Subject: [PATCH] Make the 'Delete' action link for plugins red. fixes #12741, props jane. git-svn-id: https://develop.svn.wordpress.org/trunk@14159 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/plugins.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index 5841732612..e1c227fc69 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -531,7 +531,7 @@ function print_plugins_table($plugins, $context = '') { 'network_only' => '', 'activate' => '', 'network_activate' => '', 'edit' => '', - 'plugin_delete' => '', + 'delete' => '', ); if ( 'mustuse' == $context ) { @@ -575,7 +575,7 @@ function print_plugins_table($plugins, $context = '') { $actions['network_activate'] = '' . __('Network Activate') . ''; if ( current_user_can('delete_plugins') ) - $actions['plugin_delete'] = '' . __('Delete') . ''; + $actions['delete'] = '' . __('Delete') . ''; } // end if $is_active if ( current_user_can('edit_plugins') && is_writable(WP_PLUGIN_DIR . '/' . $plugin_file) )