Changeset 28772
- Timestamp:
- 06/18/2014 02:22:45 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r28766 r28772 372 372 echo "</select>\n"; 373 373 374 submit_button( __( 'Apply' ), 'action', 'bulk_action', false, array( 'id' => "doaction$two" ) );374 submit_button( __( 'Apply' ), 'action', false, false, array( 'id' => "doaction$two" ) ); 375 375 echo "\n"; 376 376 } … … 385 385 */ 386 386 public function current_action() { 387 if ( ! empty( $_REQUEST['bulk_action'] ) ) { 388 389 // Bulk Actions drop-down above the list table. 390 if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) { 391 return $_REQUEST['action']; 392 } 393 394 // Bulk Actions drop-down below the list table. 395 if ( isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) { 396 return $_REQUEST['action2']; 397 } 398 } 387 if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) 388 return $_REQUEST['action']; 389 390 if ( isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) 391 return $_REQUEST['action2']; 399 392 400 393 return false;
Note: See TracChangeset
for help on using the changeset viewer.