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

WordPress Trac noreply at wordpress.org
Wed Mar 20 13:36:43 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:41 markjaquith]:
 > What's the status on getting this fixed for '''existing posts'''?

 thought it was fixed, but possibly missed something.

 once a post is updated its revision dataset is corrected. before that 1st
 update, older posts do not contain a revision that is 'current' -
 containing the same data as the post. the new revisions system (is
 supposed to) take care of this by inserting a copy of the current post as
 a revision in the returned list (although not actually adding it to the
 revisions table). i could fix the data there instead of inserting the post
 data copy.

 now that i have ironed out (i hope) all the comparison and switching
 issues i will revisit some old revision datasets to see if this is in fact
 working. did you have a test case that failed to work properly?

 one possible issue would be restoring a revision from an old post before
 an update - this would leave a 'gap' in the list of revisions for the
 current revision (before restore). another issue that is not corrected is
 that old revisions would store a revision even if nothing had changed in
 the post. the new code does nothing to clean this up, so old revisions
 will include some that contain no changes.

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


More information about the wp-trac mailing list