[wp-trac] [WordPress Trac] #23901: Revisions: revisions.js clean up

WordPress Trac noreply at wordpress.org
Mon Apr 8 03:26:30 UTC 2013


#23901: Revisions: revisions.js clean up
--------------------------+--------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.6
Component:  Revisions     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by adamsilverstein):

 Replying to [comment:16 azaozz]:
 > When there is a notice "There is an autosave of this post that is more
 recent...", clicking the "View the autosave" link shows the wrong diff:
 switched left/right parts, the content that is new in the autosave shows
 as deleted on the left instead of as added on the right.
 >
 > [[Image(restoring-autosave.png)]]
 >
 > Clicking on the Restore button restores the autosave properly.

 question:

 is the id of the revision correct? that is, when you click the 'view the
 autosave' link, is the id in the link url the same as the stored autosave?

 it almost seems like the comparison direction left/right is reversed?
 might it be an ordering issue with the list of revisions ( ala #23923 )?
 would be interesting to see if changing the ordering to ID fixes this.

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


More information about the wp-trac mailing list