[wp-trac] [WordPress Trac] #26042: wp_save_post_revision() can compare against the wrong $last_revision post

WordPress Trac noreply at wordpress.org
Thu Mar 6 19:47:54 UTC 2014


#26042: wp_save_post_revision() can compare against the wrong $last_revision post
----------------------------------------+-----------------------------
 Reporter:  wonderboymusic              |       Owner:  wonderboymusic
     Type:  defect (bug)                |      Status:  reopened
 Priority:  normal                      |   Milestone:  3.9
Component:  Revisions                   |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------
Changes (by kpdesign):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Per the IRC discussion linked above, the revisions order has changed in
 the Revisions metabox and the Revisions browser, from displaying the
 newest first to displaying the oldest first in latest trunk.

 I tracked down the behavior change to r27184. Removing the ID reverted the
 order back to newest first for both.

 I also checked 3.8 to confirm that displaying newest first for both was
 the expected behavior for revisions.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26042#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list