Make WordPress Core

Changeset 48866


Ignore:
Timestamp:
08/26/2020 02:16:12 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Quick/Bulk Edit: Revert [48134] to address the bottom "Bulk actions" dropdown not functioning properly on Posts and Users list tables.

A better solution for the original issue will be explored in a future release.

Props audrasjb, garrett-eclipse, webzunft, Krstarica, chunkysteveo, SergeyBiryukov.
Fixes #50882, #50998. See #46872.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r48668 r48866  
    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        }
     
    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'];
     498                }
     499
     500                if ( isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) {
     501                        return $_REQUEST['action2'];
    502502                }
    503503
Note: See TracChangeset for help on using the changeset viewer.