Ticket #40557: 40557.diff
File 40557.diff, 612 bytes (added by , 8 years ago) |
---|
-
wp-admin/network/sites.php
123 123 124 124 case 'deleteblog': 125 125 if ( ! current_user_can( 'delete_sites' ) ) 126 wp_die( __( 'Sorry, you are not allowed to access this page.' ), '', array( 'response' => 403 ));126 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 127 127 128 128 $updated_action = 'not_deleted'; 129 129 if ( $id != '0' && $id != get_network()->site_id && current_user_can( 'delete_site', $id ) ) {