Make WordPress Core


Ignore:
Timestamp:
01/12/2019 06:40:16 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Upgrade WPCS to 1.2.1.

This upgrade fixes quite a few false positives, as well as auto-fixing some indenting issues.

Fixes #45956.

File:
1 edited

Legend:

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

    r43571 r44574  
    111111    <?php else : // post pass ?>
    112112        <content type="html" xml:base="<?php comment_link(); ?>"><![CDATA[<?php comment_text(); ?>]]></content>
    113     <?php
     113        <?php
    114114    endif; // post pass
    115115    // Return comment threading information (https://www.ietf.org/rfc/rfc4685.txt)
    116 if ( $comment->comment_parent == 0 ) : // This comment is top level
    117     ?>
     116    if ( $comment->comment_parent == 0 ) : // This comment is top level
     117        ?>
    118118    <thr:in-reply-to ref="<?php the_guid(); ?>" href="<?php the_permalink_rss(); ?>" type="<?php bloginfo_rss( 'html_type' ); ?>" />
    119     <?php
     119        <?php
    120120    else : // This comment is in reply to another comment
    121121        $parent_comment = get_comment( $comment->comment_parent );
Note: See TracChangeset for help on using the changeset viewer.