Commit fd43bdd3 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Quick/Bulk Edit: Revert [48134] to address the bottom "Bulk actions" dropdown...

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.
Built from https://develop.svn.wordpress.org/branches/5.5@48867


git-svn-id: https://core.svn.wordpress.org/branches/5.5@48629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 28d39732
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -477,7 +477,7 @@ class WP_List_Table {

		echo "</select>\n";

		submit_button( __( 'Apply' ), 'action', "doaction$two", false, array( 'id' => "doaction$two" ) );
		submit_button( __( 'Apply' ), 'action', '', false, array( 'id' => "doaction$two" ) );
		echo "\n";
	}

@@ -493,14 +493,14 @@ class WP_List_Table {
			return false;
		}

		if ( isset( $_REQUEST['doaction2'] ) && isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) {
			return $_REQUEST['action2'];
		}

		if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) {
			return $_REQUEST['action'];
		}

		if ( isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) {
			return $_REQUEST['action2'];
		}

		return false;
	}

+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
 *
 * @global string $wp_version
 */
$wp_version = '5.5.1-alpha-48865';
$wp_version = '5.5.1-alpha-48867';

/**
 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.