Make WordPress Core


Ignore:
Timestamp:
09/22/2010 12:10:39 AM (14 years ago)
Author:
scribu
Message:

Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r15528 r15642  
    2323}
    2424
    25 if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['delete_tags'] ) && ( 'delete' == $_REQUEST['action'] || 'delete' == $_REQUEST['action2'] ) )
    26     $action = 'bulk-delete';
    27 
    28 switch ( $action ) {
     25switch ( $wp_list_table->current_action() ) {
    2926
    3027case 'add-tag':
Note: See TracChangeset for help on using the changeset viewer.