Twenty Fifteen: correct escaping to render HTML in no-content admin message.
Props dmchale, fixes #30011. git-svn-id: https://develop.svn.wordpress.org/trunk@29947 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
230313d25a
commit
c4a5809baf
@ -18,7 +18,7 @@
|
||||
<div class="page-content">
|
||||
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<?php elseif ( is_search() ) : ?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user