| @@ -1325,16 +1325,8 @@ | ||
| 1325 | 1325 | if ( ! isset( $_GET['uwp_change_user_type'], $_GET['uwp_new_user_type'] ) ) { |
| 1326 | 1326 | return; |
| 1327 | 1327 | } |
| 1328 | 1328 | |
| 1329 | - if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], 'bulk-users' ) ) { | |
| 1330 | - wp_die( __( 'Security check failed. Please try again.' ) ); | |
| 1331 | - } | |
| 1332 | - | |
| 1333 | - if ( ! current_user_can( 'edit_users' ) ) { | |
| 1334 | - wp_die( __( 'You do not have permission to perform this action.' ) ); | |
| 1335 | - } | |
| 1336 | - | |
| 1337 | 1329 | $new_user_type = absint( $_GET['uwp_new_user_type'] ); |
| 1338 | 1330 | |
| 1339 | 1331 | if ( ! $new_user_type ) { |
| 1340 | 1332 | return; |