[wp-trac] [WordPress Trac] #24708: Extra revision created every time a new post is inserted
WordPress Trac
noreply at wordpress.org
Mon Jul 8 05:45:36 UTC 2013
#24708: Extra revision created every time a new post is inserted
--------------------------+--------------------
Reporter: wpdavis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Revisions | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------------+--------------------
Changes (by nacin):
* cc: westi, ethitter (added)
* milestone: Awaiting Review => 3.6
Comment:
Someone else pointed this out to me too. This seems like it is proper
behavior. In 3.6, we create a revision on edit, rather than on subsequent
edit. This was in part to solve an off-by-one issue, and in part to make
it more obvious what was going on with revisions.
That said, I'm not positive whether "create a revision on edit" should
also occur for freshly created posts using wp_insert_post(). All UI-
created posts are actually an edit, thanks to auto-drafts.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24708#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list