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

WordPress Trac noreply at wordpress.org
Mon Apr 8 15:47:14 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):

 attaching a patch next that corrects the left/right comparison to use date
 not ID, this fixes the comparison issue you were seeing

 the revisions list was removing the most current revision, but i think its
 better to show, so i removed that. i see other users autosaves in my
 revision list:

 [[Image(http://f.cl.ly/items/3g2K070j113L363W3H2K/Screen%20Shot%202013-04-08%20at%209.20.55%20AM.jpg)]]

 i did a little sort order testing:

 i tried changing the sort order from date:

 [[Image(http://f.cl.ly/items/0b1H1j0v1N3k1E3l1k2P/Screen%20Shot%202013-04-08%20at%209.34.13%20AM.jpg)]]

 to ID - note user2's Autosave is now correctly shown as the 2nd revision:

 [[Image(http://f.cl.ly/items/2B0p151C1P0G1e2I3H0x/Screen%20Shot%202013-04-08%20at%209.32.22%20AM.jpg)]]

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


More information about the wp-trac mailing list