From bf00a673a5f1d7f4707a6f914e1408526a8dc06a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 23 Aug 2023 15:51:12 +0000 Subject: [PATCH] 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 --- src/wp-includes/ms-files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/ms-files.php b/src/wp-includes/ms-files.php index c909a32407..2efe452faf 100644 --- a/src/wp-includes/ms-files.php +++ b/src/wp-includes/ms-files.php @@ -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.' ); }