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

WordPress Trac noreply at wordpress.org
Thu May 22 18:50:13 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:  closed
Component:  Revisions                            |   Milestone:  4.0
 Severity:  major                                |     Version:
 Keywords:  has-patch needs-unit-tests commit    |  Resolution:  fixed
  4.0-early                                      |     Focuses:
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"28543"]:
 {{{
 #!CommitTicketReference repository="" revision="28543"
 Remove unnecessary array_reverse() from wp_get_post_revisions().

 WP_Query properly handles multiple 'orderby' values since [28541].

 fixes #26042.
 }}}

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


More information about the wp-trac mailing list