[wp-trac] [WordPress Trac] #55238: Post lock data inconsistencies

WordPress Trac noreply at wordpress.org
Wed Feb 23 14:00:27 UTC 2022


#55238: Post lock data inconsistencies
--------------------------+-----------------------------
 Reporter:  Mamaduka      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.0
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 There're inconsistencies between post lock data returned by the editor
 settings and the Heartbeat API.

 * Editor settings are missing user avatar. It's fetched but never included
 in user details - https://github.com/WordPress/wordpress-
 develop/blob/trunk/src/wp-admin/edit-form-blocks.php#L151-L157.
 * Heartbeat response is missing user name. The editor expects name instead
 of the whole error text - https://github.com/WordPress/wordpress-
 develop/blob/trunk/src/wp-admin/includes/misc.php#L1191-L1194


 I think this has been an issue since 5.0 - https://github.com/WordPress
 /wordpress-develop/commit/3011f8c8e76c71d842df998798bef65b3736de73.

 P.S. I will follow up with PR shortly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55238>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list