Multisite: Replace `get_blog_details()` usage in `wpmu_delete_blog()` with `get_site()`.

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

Built from https://develop.svn.wordpress.org/trunk@38821


git-svn-id: http://core.svn.wordpress.org/trunk@38764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2016-10-19 05:50:28 +00:00
parent be6e98426b
commit 7eece8b106
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) {
switch_to_blog( $blog_id );
}
$blog = get_blog_details( $blog_id );
$blog = get_site( $blog_id );
/**
* Fires before a site is deleted.
*

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38820';
$wp_version = '4.7-alpha-38821';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.