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:
parent
eeef1da9e1
commit
775eedc29d
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user