Changeset 49944 for trunk/src/wp-admin/network/site-users.php
- Timestamp:
- 01/07/2021 04:21:09 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-users.php
r49384 r49944 141 141 check_admin_referer( 'bulk-users' ); 142 142 $editable_roles = get_editable_roles(); 143 $role = false; 144 if ( ! empty( $_REQUEST['new_role2'] ) ) { 145 $role = $_REQUEST['new_role2']; 146 } elseif ( ! empty( $_REQUEST['new_role'] ) ) { 147 $role = $_REQUEST['new_role']; 148 } 143 $role = $_REQUEST['new_role']; 149 144 150 145 if ( empty( $editable_roles[ $role ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.