Make WordPress Core


Ignore:
Timestamp:
04/05/2022 09:19:58 AM (4 years ago)
Author:
gziolo
Message:

Editor: Fix post lock data inconsistencies

Backporting fixes introduced in WordPress/gutenberg#37914.

Props Mamaduka.
Fixes #55238.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r53063 r53070  
    11381138                if ( $user && current_user_can( 'edit_post', $post_id ) ) {
    11391139                    $send = array(
     1140                        'name' => $user->display_name,
    11401141                        /* translators: %s: User's display name. */
    11411142                        'text' => sprintf( __( '%s is currently editing' ), $user->display_name ),
Note: See TracChangeset for help on using the changeset viewer.