[wp-trac] [WordPress Trac] #22687: auto-drafts are improperly stored as the first revision

WordPress Trac noreply at wordpress.org
Mon Dec 3 06:28:30 UTC 2012


#22687: auto-drafts are improperly stored as the first revision
-------------------------------------------+---------------------
 Reporter:  nacin                          |       Owner:  nacin
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  3.5
Component:  Post Types                     |     Version:  trunk
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |
-------------------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 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/22687#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list