Multisite: Replace get_blog_details() in /wp-admin/ms-delete-site.php with get_site().
Props spacedmonkey, iamfriendly. See #37102. Fixes #38347. Built from https://develop.svn.wordpress.org/trunk@38822 git-svn-id: http://core.svn.wordpress.org/trunk@38765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user