Make WordPress Core


Ignore:
Timestamp:
12/16/2014 08:32:03 PM (9 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/footer.php

    r30394 r30924  
    2323                do_action( 'twentyfifteen_credits' );
    2424            ?>
    25             <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?></a>
     25            <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?></a>
    2626        </div><!-- .site-info -->
    2727    </footer><!-- .site-footer -->
Note: See TracChangeset for help on using the changeset viewer.