[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:41:36 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:  4.0
 Severity:  major                                |     Version:
 Keywords:  has-patch needs-unit-tests commit    |  Resolution:
  4.0-early                                      |     Focuses:
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 Now that `WP_Query` generates correct SQL, we don't need the
 `array_reverse()` workaround: [attachment:26042.6.diff].

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


More information about the wp-trac mailing list