From 48cd68807695379016e9f1a66e88a4b8531105c4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 6 Apr 2021 13:45:09 +0000 Subject: [PATCH] Coding Standards: Use strict comparison in `wp-admin/includes/comment.php`. See #52627. Built from https://develop.svn.wordpress.org/trunk@50664 git-svn-id: http://core.svn.wordpress.org/trunk@50276 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/comment.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php index 90d79dd211..d5a3e4b725 100644 --- a/wp-admin/includes/comment.php +++ b/wp-admin/includes/comment.php @@ -75,7 +75,7 @@ function edit_comment() { } foreach ( array( 'aa', 'mm', 'jj', 'hh', 'mn' ) as $timeunit ) { - if ( ! empty( $_POST[ 'hidden_' . $timeunit ] ) && $_POST[ 'hidden_' . $timeunit ] != $_POST[ $timeunit ] ) { + if ( ! empty( $_POST[ 'hidden_' . $timeunit ] ) && $_POST[ 'hidden_' . $timeunit ] !== $_POST[ $timeunit ] ) { $_POST['edit_date'] = '1'; break; } diff --git a/wp-includes/version.php b/wp-includes/version.php index b58281e469..32f8f22ca0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50663'; +$wp_version = '5.8-alpha-50664'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.