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.



git-svn-id: https://develop.svn.wordpress.org/trunk@44574 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2019-01-12 06:40:16 +00:00
parent a139c8cbf7
commit 992184cf73
45 changed files with 247 additions and 255 deletions

View File

@@ -105,7 +105,7 @@ do_action( 'rss_tag_pre', 'rss2-comments' );
<?php else : // post pass ?>
<description><![CDATA[<?php comment_text_rss(); ?>]]></description>
<content:encoded><![CDATA[<?php comment_text(); ?>]]></content:encoded>
<?php
<?php
endif; // post pass
/**
* Fires at the end of each RSS2 comment feed item.
@@ -116,7 +116,7 @@ do_action( 'rss_tag_pre', 'rss2-comments' );
* @param int $comment_post->ID The ID of the post the comment is connected to.
*/
do_action( 'commentrss2_item', $comment->comment_ID, $comment_post->ID );
?>
?>
</item>
<?php
endwhile;