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

WordPress Trac noreply at wordpress.org
Mon Nov 25 23:27:07 UTC 2013


#26042: wp_save_post_revision() can compare against the wrong $last_revision post
----------------------------+------------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Revisions       |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by wonderboymusic):

 No, it wouldn't, because you have no idea what order they returned, and it
 isn't consistent - ordering by post_date, ID DESC would work

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26042#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list