diff --git a/src/wp-content/themes/twentyfifteen/404.php b/src/wp-content/themes/twentyfifteen/404.php
index e5ca57380b..0e4cdc4775 100644
|
a
|
b
|
get_header(); ?>
|
| 14 | 14 | |
| 15 | 15 | <section class="error-404 not-found"> |
| 16 | 16 | <header class="page-header"> |
| 17 | | <h1 class="page-title"><?php _e( 'Oops! That page can’t be found.', 'twentyfifteen' ); ?></h1> |
| | 17 | <h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'twentyfifteen' ); ?></h1> |
| 18 | 18 | </header><!-- .page-header --> |
| 19 | 19 | |
| 20 | 20 | <div class="page-content"> |
| 21 | | <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyfifteen' ); ?></p> |
| | 21 | <p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyfifteen' ); ?></p> |
| 22 | 22 | |
| 23 | 23 | <?php get_search_form(); ?> |
| 24 | 24 | </div><!-- .page-content --> |
diff --git a/src/wp-content/themes/twentyfifteen/author-bio.php b/src/wp-content/themes/twentyfifteen/author-bio.php
index 995ad1a4c7..19a7351805 100644
|
a
|
b
|
|
| 9 | 9 | ?> |
| 10 | 10 | |
| 11 | 11 | <div class="author-info"> |
| 12 | | <h2 class="author-heading"><?php _e( 'Published by', 'twentyfifteen' ); ?></h2> |
| | 12 | <h2 class="author-heading"><?php esc_html_e( 'Published by', 'twentyfifteen' ); ?></h2> |
| 13 | 13 | <div class="author-avatar"> |
| 14 | 14 | <?php |
| 15 | 15 | /** |
diff --git a/src/wp-content/themes/twentyfifteen/content-none.php b/src/wp-content/themes/twentyfifteen/content-none.php
index 055e50b24b..183980bf69 100644
|
a
|
b
|
|
| 12 | 12 | |
| 13 | 13 | <section class="no-results not-found"> |
| 14 | 14 | <header class="page-header"> |
| 15 | | <h1 class="page-title"><?php _e( 'Nothing Found', 'twentyfifteen' ); ?></h1> |
| | 15 | <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'twentyfifteen' ); ?></h1> |
| 16 | 16 | </header><!-- .page-header --> |
| 17 | 17 | |
| 18 | 18 | <div class="page-content"> |
| … |
… |
|
| 28 | 28 | |
| 29 | 29 | <?php elseif ( is_search() ) : ?> |
| 30 | 30 | |
| 31 | | <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfifteen' ); ?></p> |
| | 31 | <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfifteen' ); ?></p> |
| 32 | 32 | <?php get_search_form(); ?> |
| 33 | 33 | |
| 34 | 34 | <?php else : ?> |
| 35 | 35 | |
| 36 | | <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentyfifteen' ); ?></p> |
| | 36 | <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentyfifteen' ); ?></p> |
| 37 | 37 | <?php get_search_form(); ?> |
| 38 | 38 | |
| 39 | 39 | <?php endif; ?> |
diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php
index 0528a01be9..69ebd0f169 100644
|
a
|
b
|
if ( ! function_exists( 'twentyfifteen_setup' ) ) :
|
| 326 | 326 | // Indicate widget sidebars can use selective refresh in the Customizer. |
| 327 | 327 | add_theme_support( 'customize-selective-refresh-widgets' ); |
| 328 | 328 | } |
| 329 | | endif; // twentyfifteen_setup() |
| | 329 | endif; |
| 330 | 330 | add_action( 'after_setup_theme', 'twentyfifteen_setup' ); |
| 331 | 331 | |
| 332 | 332 | /** |
diff --git a/src/wp-content/themes/twentyfifteen/header.php b/src/wp-content/themes/twentyfifteen/header.php
index d75fc0c876..9e18ec4ac9 100644
|
a
|
b
|
|
| 27 | 27 | <a class="skip-link screen-reader-text" href="#content"> |
| 28 | 28 | <?php |
| 29 | 29 | /* translators: Hidden accessibility text. */ |
| 30 | | _e( 'Skip to content', 'twentyfifteen' ); |
| | 30 | esc_html_e( 'Skip to content', 'twentyfifteen' ); |
| 31 | 31 | ?> |
| 32 | 32 | </a> |
| 33 | 33 | |
| … |
… |
|
| 52 | 52 | <?php |
| 53 | 53 | endif; |
| 54 | 54 | ?> |
| 55 | | <button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button> |
| | 55 | <button class="secondary-toggle"><?php esc_html_e( 'Menu and widgets', 'twentyfifteen' ); ?></button> |
| 56 | 56 | </div><!-- .site-branding --> |
| 57 | 57 | </header><!-- .site-header --> |
| 58 | 58 | |
diff --git a/src/wp-content/themes/twentyfifteen/inc/custom-header.php b/src/wp-content/themes/twentyfifteen/inc/custom-header.php
index a09bb6b445..675be71efb 100644
|
a
|
b
|
if ( ! function_exists( 'twentyfifteen_header_style' ) ) :
|
| 193 | 193 | </style> |
| 194 | 194 | <?php |
| 195 | 195 | } |
| 196 | | endif; // twentyfifteen_header_style() |
| | 196 | endif; |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | 199 | * Enqueues front-end CSS for the header background color. |