[wp-trac] [WordPress Trac] #20982: Restoring post revisions does not update _edit_last

WordPress Trac noreply at wordpress.org
Sat Feb 9 21:01:44 UTC 2013


#20982: Restoring post revisions does not update _edit_last
-----------------------------+--------------------
 Reporter:  redpixelstudios  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  3.6
Component:  Revisions        |     Version:  3.3.2
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+--------------------

Comment (by ethitter):

 Confirmed that the bug exists, and that the
 [http://core.trac.wordpress.org/attachment/ticket/16215/16215.4.diff
 16215.4.diff] patch addresses it.

 One point of clarity: the value of `_edit_last` will be set not to the ID
 of the author of the restored revision, but to the ID of the user that
 restored the revision. This approach seems appropriate, but I wanted to
 note it here for others to consider.

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


More information about the wp-trac mailing list