mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
Multisite: Replace get_blog_details() in ms_site_check() with get_site().
Props flixos90. Fixes #38357. Built from https://develop.svn.wordpress.org/trunk@38904 git-svn-id: http://core.svn.wordpress.org/trunk@38847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
390dc4b345
commit
6e1c166dfb
|
|
@ -84,7 +84,7 @@ function ms_site_check() {
|
|||
if ( is_super_admin() )
|
||||
return true;
|
||||
|
||||
$blog = get_blog_details();
|
||||
$blog = get_site();
|
||||
|
||||
if ( '1' == $blog->deleted ) {
|
||||
if ( file_exists( WP_CONTENT_DIR . '/blog-deleted.php' ) )
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38903';
|
||||
$wp_version = '4.7-alpha-38904';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user