mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Coding Standards: Use strict comparison in wp-includes/ms-files.php.
Follow-up to [12603], [12936], [56395]. Props aristath, poena, afercia, SergeyBiryukov. See #58831. git-svn-id: https://develop.svn.wordpress.org/trunk@56430 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5a99ab468a
commit
bf00a673a5
@ -18,7 +18,7 @@ if ( ! is_multisite() ) {
|
||||
|
||||
ms_file_constants();
|
||||
|
||||
if ( '1' == $current_blog->archived || '1' == $current_blog->spam || '1' == $current_blog->deleted ) {
|
||||
if ( '1' === $current_blog->archived || '1' === $current_blog->spam || '1' === $current_blog->deleted ) {
|
||||
status_header( 404 );
|
||||
die( '404 — File not found.' );
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user