Changeset 15642 for trunk/wp-admin/users.php
- Timestamp:
- 09/22/2010 12:10:39 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/users.php
r15578 r15642 30 30 ); 31 31 32 $update = $doaction = '';33 if ( isset($_REQUEST['action']) )34 $doaction = $_REQUEST['action'] ? $_REQUEST['action'] : $_REQUEST['action2'];35 36 if ( "-1" == $doaction ) {37 if ( isset($_REQUEST['changeit']) && !empty($_REQUEST['new_role']) )38 $doaction = 'promote';39 }40 41 32 if ( empty($_REQUEST) ) { 42 33 $referer = '<input type="hidden" name="wp_http_referer" value="'. esc_attr(stripslashes($_SERVER['REQUEST_URI'])) . '" />'; … … 49 40 } 50 41 51 switch ($doaction) { 42 $update = ''; 43 44 switch ( $wp_list_table->current_action() ) { 52 45 53 46 /* Bulk Dropdown menu Role changes */
Note: See TracChangeset
for help on using the changeset viewer.