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

WordPress Trac noreply at wordpress.org
Mon Mar 24 02:25:56 UTC 2014


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

 * severity:  normal => blocker


Comment:

 [27184] breaks "Preview Changes" for published posts as revisions are not
 in chronological order any more (as explained by @SergeyBiryukov in
 [#comment:14 comment 14]).

 Looks like that unless we fix wp_query, there's no way to order by two
 fields. At this point (beta2) I'd rather revert [27184] than touch
 wp_query :)

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


More information about the wp-trac mailing list