Fix wrong use of esc_html_e()
.
Props ocean90. Fixes #24854 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@24840 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a98c1ad91e
commit
47eca52e74
@ -1254,7 +1254,7 @@ function _admin_notice_post_locked() {
|
||||
?>
|
||||
<div class="post-locked-message">
|
||||
<div class="post-locked-avatar"><?php echo get_avatar( $user->ID, 64 ); ?></div>
|
||||
<p class="currently-editing wp-tab-first" tabindex="0"><?php esc_html_e( sprintf( __( 'This content is currently locked. If you take over, %s will be blocked from continuing to edit.' ), $user->display_name ) ); ?></p>
|
||||
<p class="currently-editing wp-tab-first" tabindex="0"><?php echo esc_html( sprintf( __( 'This content is currently locked. If you take over, %s will be blocked from continuing to edit.' ), $user->display_name ) ); ?></p>
|
||||
<?php do_action( 'post_lock_text', $post ); ?>
|
||||
<p>
|
||||
<a class="button" href="<?php echo esc_url( $sendback ); ?>"><?php echo $sendback_text; ?></a>
|
||||
|
Loading…
Reference in New Issue
Block a user