Make WordPress Core

Changeset 59840


Ignore:
Timestamp:
02/19/2025 07:27:27 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in wp_new_comment_notify_moderator().

Follow-up to [2894], [34106], [34250], [34252], [35339].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r59827 r59840  
    23742374
    23752375    // Only send notifications for pending comments.
    2376     $maybe_notify = ( '0' == $comment->comment_approved );
     2376    $maybe_notify = ( '0' === $comment->comment_approved );
    23772377
    23782378    /** This filter is documented in wp-includes/pluggable.php */
Note: See TracChangeset for help on using the changeset viewer.