Make WordPress Core

Changeset 48867


Ignore:
Timestamp:
08/26/2020 02:19:01 PM (4 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.
Merges [48866] to the 5.5 branch.
Fixes #50882, #50998. See #46872.

Location:
branches/5.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.5

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

    r48668 r48867  
    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.