Make WordPress Core


Ignore:
Timestamp:
02/09/2020 04:52:28 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use Yoda conditions where appropriate.

See #49222.

File:
1 edited

Legend:

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

    r47122 r47219  
    111111        <?php
    112112        // Return comment threading information (https://www.ietf.org/rfc/rfc4685.txt).
    113         if ( $comment->comment_parent == 0 ) : // This comment is top-level.
     113        if ( 0 == $comment->comment_parent ) : // This comment is top-level.
    114114            ?>
    115115            <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.