Make WordPress Core

Ticket #50882: 50882.diff

File 50882.diff, 986 bytes (added by audrasjb, 4 years ago)

Revert changeset 48134

  • src/wp-admin/includes/class-wp-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php
    index 6d67d88636..7f72767693 100644
    a b class WP_List_Table { 
    477477
    478478                echo "</select>\n";
    479479
    480                 submit_button( __( 'Apply' ), 'action', "doaction$two", false, array( 'id' => "doaction$two" ) );
     480                submit_button( __( 'Apply' ), 'action', '', false, array( 'id' => "doaction$two" ) );
    481481                echo "\n";
    482482        }
    483483
    class WP_List_Table { 
    493493                        return false;
    494494                }
    495495
    496                 if ( isset( $_REQUEST['doaction2'] ) && isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) {
    497                         return $_REQUEST['action2'];
    498                 }
    499 
    500496                if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) {
    501497                        return $_REQUEST['action'];
    502498                }
    503499
     500                if ( isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) {
     501                        return $_REQUEST['action2'];
     502                }
     503
    504504                return false;
    505505        }
    506506