[wp-trac] [WordPress Trac] #55659: User without post lock can overwrite changes of user with lock via autosave

WordPress Trac noreply at wordpress.org
Sun Sep 11 22:33:45 UTC 2022


#55659: User without post lock can overwrite changes of user with lock via autosave
--------------------------------------+------------------------------
 Reporter:  jhart35                   |       Owner:  adamsilverstein
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.1
Component:  Autosave                  |     Version:  5.9.3
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+------------------------------
Changes (by antpb):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54130" 54130]:
 {{{
 #!CommitTicketReference repository="" revision="54130"
 Autosave/REST API: Block autosaving from overwriting changes when locked
 from editing.

 Previously when a user was locked from editing a post in the block editor,
 autosave functionality was allowed to overwrite changes made by the editor
 that has taken control. This patch honors the lock status keeping autosave
 from conflicitng with other content editors.

 Props jhart35, adamsilverstein, sathyapulse, chanthaboune, primetimejas,
 joemcgill, kadamwhite.
 Fixes #55659.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55659#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list