Multisite: Replace get_blog_details()
in ms_site_check()
with get_site()
.
Props flixos90. Fixes #38357. git-svn-id: https://develop.svn.wordpress.org/trunk@38904 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
701dbe4271
commit
0b0a009bfc
@ -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' ) )
|
||||
|
Loading…
Reference in New Issue
Block a user