Skip to content

Commit

Permalink
Coding Standards: Use strict comparison in `wp-includes/feed-atom-com…
Browse files Browse the repository at this point in the history
…ments.php`.

Follow-up to [9818].

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

git-svn-id: https://develop.svn.wordpress.org/trunk@56324 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Jul 29, 2023
1 parent 73be680 commit 78e9478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/feed-atom-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

<?php
// Return comment threading information (https://www.ietf.org/rfc/rfc4685.txt).
if ( 0 == $comment->comment_parent ) : // This comment is top-level.
if ( '0' === $comment->comment_parent ) : // This comment is top-level.
?>
<thr:in-reply-to ref="<?php the_guid(); ?>" href="<?php the_permalink_rss(); ?>" type="<?php bloginfo_rss( 'html_type' ); ?>" />
<?php
Expand Down

0 comments on commit 78e9478

Please sign in to comment.