[wp-trac] [WordPress Trac] #22686: wp.getRevisions returns auto-drafts
WordPress Trac
noreply at wordpress.org
Mon Dec 3 06:28:29 UTC 2012
#22686: wp.getRevisions returns auto-drafts
--------------------------+------------------------
Reporter: maxcutler | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: XML-RPC | Version: trunk
Severity: normal | Resolution: duplicate
Keywords: needs-patch |
--------------------------+------------------------
Comment (by nacin):
In [changeset:"22989"]:
{{{
#!CommitTicketReference repository="" revision="22989"
Do not save an initial revision for a post created through the auto-draft
mechanism. Prevents a bogus revision, often with the title 'Auto Draft'.
Restores pre-auto-draft behavior made obvious by XML-RPC's implementation
of both auto-drafts and the subsequent wp.getRevisions method. fixes
#22687. see #22686.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22686#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list