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

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


git-svn-id: https://develop.svn.wordpress.org/trunk@38821 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2016-10-19 05:49:20 +00:00
parent eeef1da9e1
commit 775eedc29d
1 changed files with 1 additions and 1 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.
*