Ticket #38450: 38450.1.patch
File 38450.1.patch, 2.4 KB (added by , 8 years ago) |
---|
-
src/wp-content/themes/twentyseventeen/components/header/site-branding.php
23 23 24 24 <?php $description = get_bloginfo( 'description', 'display' ); 25 25 if ( $description || is_customize_preview() ) : ?> 26 <p class="site-description"><?php echo $description; /* WPCS: xss ok. */?></p>26 <p class="site-description"><?php echo $description; ?></p> 27 27 <?php endif; ?> 28 28 </div><!-- .site-branding-text --> 29 29 -
src/wp-content/themes/twentyseventeen/inc/template-tags.php
22 22 ); 23 23 24 24 // Finally, let's write all of this to the page. 25 echo '<span class="posted-on">' . twentyseventeen_time_link() . '</span><span class="byline"> ' . $byline . '</span>'; // WPCS: XSS OK.25 echo '<span class="posted-on">' . twentyseventeen_time_link() . '</span><span class="byline"> ' . $byline . '</span>'; 26 26 } 27 27 endif; 28 28 … … 76 76 77 77 // Make sure there's more than one category before displaying. 78 78 if ( $categories_list && twentyseventeen_categorized_blog() ) { 79 echo '<span class="cat-links">' . twentyseventeen_get_svg( array( 'icon' => 'folder-open' ) ) . '<span class="screen-reader-text">' . __( 'Categories', 'twentyseventeen' ) . '</span>' . $categories_list . '</span>'; // WPCS: XSS OK.79 echo '<span class="cat-links">' . twentyseventeen_get_svg( array( 'icon' => 'folder-open' ) ) . '<span class="screen-reader-text">' . __( 'Categories', 'twentyseventeen' ) . '</span>' . $categories_list . '</span>'; 80 80 } 81 81 82 82 if ( $tags_list ) { 83 echo '<span class="tags-links">' . twentyseventeen_get_svg( array( 'icon' => 'hashtag' ) ) . '<span class="screen-reader-text">' . __( 'Tags', 'twentyseventeen' ) . '</span>' . $tags_list . '</span>'; // WPCS: XSS OK.83 echo '<span class="tags-links">' . twentyseventeen_get_svg( array( 'icon' => 'hashtag' ) ) . '<span class="screen-reader-text">' . __( 'Tags', 'twentyseventeen' ) . '</span>' . $tags_list . '</span>'; 84 84 } 85 85 86 86 echo '</span>';