[wp-trac] [WordPress Trac] #26042: wp_save_post_revision() can compare against the wrong $last_revision post
WordPress Trac
noreply at wordpress.org
Fri Mar 14 20:18:05 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: normal | Version:
Keywords: has-patch needs-unit-tests commit | Resolution:
| Focuses:
-----------------------------------------------+---------------------------
Comment (by adamsilverstein):
Replying to [comment:19 ircbot]:
> ''This ticket was mentioned in IRC in #wordpress-dev by wonderboymusic.
[http://irclogs.wordpress.org/chanlog.php?channel=wordpress-
dev&day=2014-03-12&sort=asc#m809618 View the logs].''
So the root cause of this issue is that the query isn't including all of
the sort orders passed? Does this also correct the unit tests discussed
above? I will do some testing and report back, thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26042#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list