Ticket #46872: 46872.diff
File 46872.diff, 989 bytes (added by , 6 years ago) |
---|
-
src/wp-admin/includes/class-wp-list-table.php
473 473 474 474 echo "</select>\n"; 475 475 476 submit_button( __( 'Apply' ), 'action', '', false, array( 'id' => "doaction$two" ) );476 submit_button( __( 'Apply' ), 'action', "doaction$two", false, array( 'id' => "doaction$two" ) ); 477 477 echo "\n"; 478 478 } 479 479 … … 489 489 return false; 490 490 } 491 491 492 if ( isset( $_REQUEST[' action'] ) && -1 != $_REQUEST['action'] ) {492 if ( isset( $_REQUEST['doaction'] ) && isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) { 493 493 return $_REQUEST['action']; 494 494 } 495 495 496 if ( isset( $_REQUEST[' action2'] ) && -1 != $_REQUEST['action2'] ) {496 if ( isset( $_REQUEST['doaction2'] ) && isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) { 497 497 return $_REQUEST['action2']; 498 498 } 499 499