mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Editor: Fix post lock data inconsistencies
Backporting fixes introduced in WordPress/gutenberg#37914. Props Mamaduka. Fixes #55238. git-svn-id: https://develop.svn.wordpress.org/trunk@53070 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1137,6 +1137,7 @@ function wp_check_locked_posts( $response, $data, $screen_id ) {
|
||||
|
||||
if ( $user && current_user_can( 'edit_post', $post_id ) ) {
|
||||
$send = array(
|
||||
'name' => $user->display_name,
|
||||
/* translators: %s: User's display name. */
|
||||
'text' => sprintf( __( '%s is currently editing' ), $user->display_name ),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user