mirror of
git://develop.git.wordpress.org/
synced 2025-04-27 07:32:32 +02:00
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
This commit is contained in:
parent
02e9222e2e
commit
4ca1ee8c0e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user