Multisite: Replace get_blog_details()
in /wp-admin/ms-delete-site.php
with get_site()
.
Props spacedmonkey, iamfriendly. See #37102. Fixes #38347. git-svn-id: https://develop.svn.wordpress.org/trunk@38822 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
775eedc29d
commit
d2b2c8e531
@ -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' );
|
||||
|
Loading…
Reference in New Issue
Block a user