From 4ca1ee8c0eca0696dbad2ef3abcbf663fb47c370 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 6 Apr 2021 13:43:56 +0000 Subject: [PATCH] Coding Standards: Use strict comparison in `wp-admin/includes/comment.php`. See #52627. git-svn-id: https://develop.svn.wordpress.org/trunk@50664 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/comment.php b/src/wp-admin/includes/comment.php index 90d79dd211..d5a3e4b725 100644 --- a/src/wp-admin/includes/comment.php +++ b/src/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; }