Make WordPress Core


Ignore:
Timestamp:
12/16/2014 08:32:03 PM (11 years ago)
Author:
johnbillion
Message:

Twenty Fifteen: Don't escape translated strings.

Replace every unnecessary instance of esc_html__() and esc_html_e() with just __() and _e().

Merges [30896] to the 4.1 branch.

see #30724.

Location:
branches/4.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1

  • branches/4.1/src/wp-content/themes/twentyfifteen/404.php

    r30394 r30924  
    1515            <section class="error-404 not-found">
    1616                <header class="page-header">
    17                     <h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'twentyfifteen' ); ?></h1>
     17                    <h1 class="page-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'twentyfifteen' ); ?></h1>
    1818                </header><!-- .page-header -->
    1919
    2020                <div class="page-content">
    21                     <p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyfifteen' ); ?></p>
     21                    <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyfifteen' ); ?></p>
    2222
    2323                    <?php get_search_form(); ?>
Note: See TracChangeset for help on using the changeset viewer.