[wp-trac] [WordPress Trac] #56197: Continued post lock data inconsistencies

WordPress Trac noreply at wordpress.org
Mon Jul 11 17:26:10 UTC 2022


#56197: Continued post lock data inconsistencies
--------------------------+-----------------------------
 Reporter:  nathan.noom   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.0
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 There are continued inconsistencies between data returned by the two post
 lock functions. This was originally supposed to be addressed in #55238,
 but was not resolved in both locations.

 wp_check_locked_posts returns the user's name, but wp_refresh_post_lock
 does not:
 https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
 admin/includes/misc.php#L1140-L1142
 https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
 admin/includes/misc.php#L1193-L1194

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


More information about the wp-trac mailing list