mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Remove "Danger!" red from Cancel links and Deactivate plugins
git-svn-id: https://develop.svn.wordpress.org/trunk@9941 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -280,7 +280,7 @@ function print_plugins_table($plugins, $context = '') {
|
||||
$action_links = array();
|
||||
|
||||
if ( 'active' == $context )
|
||||
$action_links[] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&plugin=' . $plugin_file, 'deactivate-plugin_' . $plugin_file) . '" title="' . __('Deactivate this plugin') . '" class="delete">' . __('Deactivate') . '</a>';
|
||||
$action_links[] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&plugin=' . $plugin_file, 'deactivate-plugin_' . $plugin_file) . '" title="' . __('Deactivate this plugin') . '">' . __('Deactivate') . '</a>';
|
||||
else //Inactive or Recently deactivated
|
||||
$action_links[] = '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . __('Activate this plugin') . '" class="edit">' . __('Activate') . '</a>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user