]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentythirteen/taxonomy-post_format.php
WordPress 4.2
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / taxonomy-post_format.php
index 0deb97cce23ee438e42b0219a0b1335137dc0fad..3cf2970ee1dbd4673609ff6a9ec124d57a7fa4a9 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 /**
- * The template for displaying Post Format pages.
+ * The template for displaying Post Format pages
  *
  * Used to display archive-type pages for posts with a post format.
  * If you'd like to further customize these Post Format views, you may create a
  * new template file for each specific one.
  *
- * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ * @link https://codex.wordpress.org/Template_Hierarchy
  *
  * @package WordPress
  * @subpackage Twenty_Thirteen
@@ -20,7 +20,7 @@ get_header(); ?>
 
                <?php if ( have_posts() ) : ?>
                        <header class="archive-header">
-                               <h1 class="archive-title"><?php printf( __( '%s Archives', 'twentythirteen' ), '<span>' . get_post_format_string( get_post_format() ) . '</span>' ); ?></h1>
+                               <h1 class="archive-title"><?php printf( __( '%s Archives', 'twentythirteen' ), '<span>' . esc_html( get_post_format_string( get_post_format() ) ) . '</span>' ); ?></h1>
                        </header><!-- .archive-header -->
 
                        <?php /* The loop */ ?>
@@ -38,4 +38,4 @@ get_header(); ?>
        </div><!-- #primary -->
 
 <?php get_sidebar(); ?>
-<?php get_footer(); ?>
\ No newline at end of file
+<?php get_footer(); ?>