Make WordPress Core

Changeset 55849


Ignore:
Timestamp:
05/23/2023 03:23:15 PM (10 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in wp-includes/theme-compat/comments.php.

Follow-up to [31941], [41285], [55420].

Props sarequl.
See #57839.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme-compat/comments.php

    r47808 r55849  
    3333    <h3 id="comments">
    3434        <?php
    35         if ( 1 == get_comments_number() ) {
     35        if ( '1' === get_comments_number() ) {
    3636            printf(
    3737                /* translators: %s: Post title. */
Note: See TracChangeset for help on using the changeset viewer.