Ticket #28555: class-wp-list-table.php.diff
File class-wp-list-table.php.diff, 1.1 KB (added by , 10 years ago) |
---|
-
includes/class-wp-list-table.php
371 371 372 372 echo "</select>\n"; 373 373 374 submit_button( __( 'Apply' ), 'action', false, false, array( 'id' => "doaction$two" ) );374 submit_button( __( 'Apply' ), 'action', 'bulk_action', false, array( 'id' => "doaction$two" ) ); 375 375 echo "\n"; 376 376 } 377 377 … … 384 384 * @return string|bool The action name or False if no action was selected 385 385 */ 386 386 public function current_action() { 387 if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) 388 return $_REQUEST['action']; 387 388 if ( !empty( $_REQUEST['bulk_action'] ) ) { 389 390 if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) 391 return $_REQUEST['action']; 392 393 if ( isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) 394 return $_REQUEST['action2']; 395 396 } 389 397 390 if ( isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] )391 return $_REQUEST['action2'];392 393 398 return false; 394 399 } 395 400