Ticket #53694: 53694.diff
File 53694.diff, 481 bytes (added by , 3 years ago) |
---|
-
src/wp-admin/network/sites.php
diff --git src/wp-admin/network/sites.php src/wp-admin/network/sites.php index bcbee04..44c21d5 100644
if ( isset( $_GET['action'] ) ) { 157 157 continue; 158 158 } 159 159 160 if ( ! current_user_can( 'delete_site ', $site_id) ) {160 if ( ! current_user_can( 'delete_sites' ) ) { 161 161 $site = get_site( $site_id ); 162 162 $site_address = untrailingslashit( $site->domain . $site->path ); 163 163