From 9e253ab0754cadeac7fb089f81f31e52990301e7 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sun, 23 Oct 2016 11:05:14 +0000 Subject: [PATCH] Twenty Seventeen: Remove whitelisting comments for PHP_Codesniffer Some comments to whitelist PHP_CodeSniffer errors were left in the theme as on GitHub it intergrated with Travis testing. Those are now removed in this patch. props davidakennedy git-svn-id: https://develop.svn.wordpress.org/trunk@38872 602fd350-edb4-49c9-b593-d223f7449a82 --- .../twentyseventeen/components/header/site-branding.php | 2 +- src/wp-content/themes/twentyseventeen/inc/template-tags.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/components/header/site-branding.php b/src/wp-content/themes/twentyseventeen/components/header/site-branding.php index d588cfaae0..ffa668d15e 100644 --- a/src/wp-content/themes/twentyseventeen/components/header/site-branding.php +++ b/src/wp-content/themes/twentyseventeen/components/header/site-branding.php @@ -23,7 +23,7 @@ -

+

diff --git a/src/wp-content/themes/twentyseventeen/inc/template-tags.php b/src/wp-content/themes/twentyseventeen/inc/template-tags.php index 98733ff2a7..9848fd59b3 100644 --- a/src/wp-content/themes/twentyseventeen/inc/template-tags.php +++ b/src/wp-content/themes/twentyseventeen/inc/template-tags.php @@ -22,7 +22,7 @@ function twentyseventeen_posted_on() { ); // Finally, let's write all of this to the page. - echo '' . twentyseventeen_time_link() . ' ' . $byline . ''; // WPCS: XSS OK. + echo '' . twentyseventeen_time_link() . ' ' . $byline . ''; } endif; @@ -76,11 +76,11 @@ function twentyseventeen_entry_footer() { // Make sure there's more than one category before displaying. if ( $categories_list && twentyseventeen_categorized_blog() ) { - echo '' . twentyseventeen_get_svg( array( 'icon' => 'folder-open' ) ) . '' . __( 'Categories', 'twentyseventeen' ) . '' . $categories_list . ''; // WPCS: XSS OK. + echo '' . twentyseventeen_get_svg( array( 'icon' => 'folder-open' ) ) . '' . __( 'Categories', 'twentyseventeen' ) . '' . $categories_list . ''; } if ( $tags_list ) { - echo '' . twentyseventeen_get_svg( array( 'icon' => 'hashtag' ) ) . '' . __( 'Tags', 'twentyseventeen' ) . '' . $tags_list . ''; // WPCS: XSS OK. + echo '' . twentyseventeen_get_svg( array( 'icon' => 'hashtag' ) ) . '' . __( 'Tags', 'twentyseventeen' ) . '' . $tags_list . ''; } echo '';