From d7f5f107e4da66804858d8877d7565a3d99d6f3e Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@14159 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 584173261..e1c227fc6 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) )