[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 20:27:27 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:
----------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 [attachment:26042.3.diff] fixes both the revisions order in the UI and
 random unit test failures for me.

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


More information about the wp-trac mailing list