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/link-manager.php

    r15528 r15642  
    1414
    1515// Handle bulk deletes
    16 if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['linkcheck'] ) ) {
     16$doaction = $wp_list_table->current_action();
     17
     18if ( $doaction && isset( $_REQUEST['linkcheck'] ) ) {
    1719    check_admin_referer( 'bulk-bookmarks' );
    18 
    19     $doaction = $_REQUEST['action'] ? $_REQUEST['action'] : $_REQUEST['action2'];
    2020
    2121    if ( 'delete' == $doaction ) {
Note: See TracChangeset for help on using the changeset viewer.