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/content-none.php

    r30394 r30924  
    1313<section class="no-results not-found">
    1414    <header class="page-header">
    15         <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'twentyfifteen' ); ?></h1>
     15        <h1 class="page-title"><?php _e( 'Nothing Found', 'twentyfifteen' ); ?></h1>
    1616    </header><!-- .page-header -->
    1717
     
    2424        <?php elseif ( is_search() ) : ?>
    2525
    26             <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfifteen' ); ?></p>
     26            <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfifteen' ); ?></p>
    2727            <?php get_search_form(); ?>
    2828
    2929        <?php else : ?>
    3030
    31             <p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentyfifteen' ); ?></p>
     31            <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentyfifteen' ); ?></p>
    3232            <?php get_search_form(); ?>
    3333
Note: See TracChangeset for help on using the changeset viewer.