diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index e7b96c33b5..010c8f2035 100644 --- a/src/wp-includes/comment.php +++ b/src/wp-includes/comment.php @@ -2373,7 +2373,7 @@ function wp_new_comment_notify_moderator( $comment_id ) { $comment = get_comment( $comment_id ); // Only send notifications for pending comments. - $maybe_notify = ( '0' == $comment->comment_approved ); + $maybe_notify = ( '0' === $comment->comment_approved ); /** This filter is documented in wp-includes/pluggable.php */ $maybe_notify = apply_filters( 'notify_moderator', $maybe_notify, $comment_id );