Make WordPress Core

Changeset 56324


Ignore:
Timestamp:
07/29/2023 12:29:29 AM (11 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in wp-includes/feed-atom-comments.php.

Follow-up to [9818].

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/feed-atom-comments.php

    r54881 r56324  
    112112        <?php
    113113        // Return comment threading information (https://www.ietf.org/rfc/rfc4685.txt).
    114         if ( 0 == $comment->comment_parent ) : // This comment is top-level.
     114        if ( '0' === $comment->comment_parent ) : // This comment is top-level.
    115115            ?>
    116116            <thr:in-reply-to ref="<?php the_guid(); ?>" href="<?php the_permalink_rss(); ?>" type="<?php bloginfo_rss( 'html_type' ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.