- Timestamp:
- 05/23/2017 05:57:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-users-list-table.php
r39757 r40823 259 259 protected function extra_tablenav( $which ) { 260 260 $id = 'bottom' === $which ? 'new_role2' : 'new_role'; 261 $button_id = 'bottom' === $which ? 'changeit2' : 'changeit'; 261 262 ?> 262 263 <div class="alignleft actions"> … … 268 269 </select> 269 270 <?php 270 submit_button( __( 'Change' ), '', 'changeit', false );271 submit_button( __( 'Change' ), '', $button_id, false ); 271 272 endif; 272 273 … … 296 297 */ 297 298 public function current_action() { 298 if ( isset( $_REQUEST['changeit']) &&299 if ( ( isset( $_REQUEST['changeit'] ) || isset( $_REQUEST['changeit2'] ) ) && 299 300 ( ! empty( $_REQUEST['new_role'] ) || ! empty( $_REQUEST['new_role2'] ) ) ) { 300 301 return 'promote';
Note: See TracChangeset
for help on using the changeset viewer.