Multisite: Replace get_blog_details() in /wp-admin/ms-delete-site.php with get_site().

Props spacedmonkey, iamfriendly.
See #37102.
Fixes #38347.


git-svn-id: https://develop.svn.wordpress.org/trunk@38822 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2016-10-19 05:53:52 +00:00
parent 775eedc29d
commit d2b2c8e531

View File

@ -24,7 +24,7 @@ if ( isset( $_GET['h'] ) && $_GET['h'] != '' && get_option( 'delete_blog_hash' )
}
}
$blog = get_blog_details();
$blog = get_site();
$user = wp_get_current_user();
$title = __( 'Delete Site' );