WordPress.org

Make WordPress Core

Changeset 14159


Ignore:
Timestamp:
04/18/2010 05:43:16 PM (10 years ago)
Author:
nacin
Message:

Make the 'Delete' action link for plugins red. fixes #12741, props jane.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r14139 r14159  
    532532            'network_activate' => '',
    533533            'edit' => '',
    534             'plugin_delete' => '',
     534            'delete' => '',
    535535        );
    536536
     
    576576
    577577                if ( current_user_can('delete_plugins') )
    578                     $actions['plugin_delete'] = '<a href="' . wp_nonce_url('plugins.php?action=delete-selected&amp;checked[]=' . $plugin_file . '&amp;plugin_status=' . $context . '&amp;paged=' . $page, 'bulk-manage-plugins') . '" title="' . __('Delete this plugin') . '" class="delete">' . __('Delete') . '</a>';
     578                    $actions['delete'] = '<a href="' . wp_nonce_url('plugins.php?action=delete-selected&amp;checked[]=' . $plugin_file . '&amp;plugin_status=' . $context . '&amp;paged=' . $page, 'bulk-manage-plugins') . '" title="' . __('Delete this plugin') . '" class="delete">' . __('Delete') . '</a>';
    579579            } // end if $is_active
    580580
Note: See TracChangeset for help on using the changeset viewer.