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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user