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:
parent
7eece8b106
commit
325c7411fc
@ -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();
|
$user = wp_get_current_user();
|
||||||
|
|
||||||
$title = __( 'Delete Site' );
|
$title = __( 'Delete Site' );
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-alpha-38821';
|
$wp_version = '4.7-alpha-38822';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user