Make WordPress Core

Changeset 29947


Ignore:
Timestamp:
10/17/2014 09:15:39 PM (10 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: correct escaping to render HTML in no-content admin message.

Props dmchale, fixes #30011.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/content-none.php

    r29892 r29947  
    1919        <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
    2020
    21             <p><?php printf( esc_html__( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
     21            <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
    2222
    2323        <?php elseif ( is_search() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.