[wp-trac] [WordPress Trac] #16215: Post Revision history displays the incorrect author

WordPress Trac noreply at wordpress.org
Mon Mar 25 21:43:41 UTC 2013


#16215: Post Revision history displays the incorrect author
--------------------------------------------------+-----------------------
 Reporter:  mdawaffe                              |       Owner:  westi
     Type:  defect (bug)                          |      Status:  accepted
 Priority:  normal                                |   Milestone:  3.6
Component:  Revisions                             |     Version:  2.6
 Severity:  normal                                |  Resolution:
 Keywords:  dev-feedback needs-testing has-patch  |
--------------------------------------------------+-----------------------

Comment (by adamsilverstein):

 Replying to [comment:57 mdawaffe]:
 > > fix data on opening the post for editing screen
 >
 > I worry about race conditions when multiple people (or multiple windows)
 open the same edit screen.  Has anyone reviewed my option-based locking
 code?

 i originally placed the update call at pre_post_update thinking that would
 be a safer spot, but markjaquith pointed out that if we can update the
 data before the post edit screen displays, there is no need for the on the
 fly correction at all.

 not sure about the locking code, needs review.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16215#comment:58>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list