Coding Standards: Use strict comparison in wp_new_comment_notify_postauthor().

Follow-up to [2894], [34106], [34250], [34545], [36119].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59841


git-svn-id: http://core.svn.wordpress.org/trunk@59183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2025-02-20 03:19:24 +00:00
parent 5f01118b48
commit 2c77ef11d2
2 changed files with 2 additions and 2 deletions

View File

@ -2421,7 +2421,7 @@ function wp_new_comment_notify_postauthor( $comment_id ) {
}
// Only send notifications for approved comments.
if ( ! isset( $comment->comment_approved ) || '1' != $comment->comment_approved ) {
if ( ! isset( $comment->comment_approved ) || '1' !== $comment->comment_approved ) {
return false;
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59840';
$wp_version = '6.8-alpha-59841';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.