Make WordPress Core


Ignore:
Timestamp:
01/21/2015 08:48:45 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: fix escaping and minor code style issues. See #29127.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentythirteen/taxonomy-post_format.php

    r25522 r31260  
    2121        <?php if ( have_posts() ) : ?>
    2222            <header class="archive-header">
    23                 <h1 class="archive-title"><?php printf( __( '%s Archives', 'twentythirteen' ), '<span>' . get_post_format_string( get_post_format() ) . '</span>' ); ?></h1>
     23                <h1 class="archive-title"><?php printf( __( '%s Archives', 'twentythirteen' ), '<span>' . esc_html( get_post_format_string( get_post_format() ) ) . '</span>' ); ?></h1>
    2424            </header><!-- .archive-header -->
    2525
Note: See TracChangeset for help on using the changeset viewer.