Ticket #38151: 38151.patch
File 38151.patch, 537 bytes (added by , 8 years ago) |
---|
-
src/wp-admin/network/site-users.php
diff --git src/wp-admin/network/site-users.php src/wp-admin/network/site-users.php index 36ce31a..40a17d6 100644
if ( $action ) { 117 117 break; 118 118 119 119 case 'remove': 120 if ( ! current_user_can( 'remove_users' ) ) 121 die(__('You can’t remove users.')); 120 if ( ! current_user_can( 'remove_users' ) ) { 121 wp_die( __( 'You can’t remove users.' ) ); 122 } 123 122 124 check_admin_referer( 'bulk-users' ); 123 125 124 126 $update = 'remove';