Posts, Post Types: Simplify the wording in post locking notice.
Props munyagu. Fixes #42023. git-svn-id: https://develop.svn.wordpress.org/trunk@41706 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d4dff17627
commit
fb06fab2e8
@ -1595,9 +1595,13 @@ function _admin_notice_post_locked() {
|
|||||||
<div class="post-locked-avatar"><?php echo get_avatar( $user->ID, 64 ); ?></div>
|
<div class="post-locked-avatar"><?php echo get_avatar( $user->ID, 64 ); ?></div>
|
||||||
<p class="currently-editing wp-tab-first" tabindex="0">
|
<p class="currently-editing wp-tab-first" tabindex="0">
|
||||||
<?php
|
<?php
|
||||||
_e( 'This content is currently locked.' );
|
if ( $override ) {
|
||||||
if ( $override )
|
/* translators: %s: user's display name */
|
||||||
printf( ' ' . __( 'If you take over, %s will be blocked from continuing to edit.' ), esc_html( $user->display_name ) );
|
printf( __( '%s is already editing this post. Do you want to take over?' ), esc_html( $user->display_name ) );
|
||||||
|
} else {
|
||||||
|
/* translators: %s: user's display name */
|
||||||
|
printf( __( '%s is already editing this post.' ), esc_html( $user->display_name ) );
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
|
Loading…
Reference in New Issue
Block a user