From a278aa2ac07e803f734fbb731a08ec2701276c80 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 23 Aug 2023 15:53:24 +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. Built from https://develop.svn.wordpress.org/trunk@56430 git-svn-id: http://core.svn.wordpress.org/trunk@55942 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-files.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/ms-files.php b/wp-includes/ms-files.php index c909a32407..2efe452faf 100644 --- a/wp-includes/ms-files.php +++ b/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.' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 48b96a24d8..e47ff87729 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56424'; +$wp_version = '6.4-alpha-56430'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.