[wp-trac] Re: [WordPress Trac] #7379: Revisions of Autosaves

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 22 22:44:25 GMT 2008


#7379: Revisions of Autosaves
---------------------------------+------------------------------------------
 Reporter:  thomask              |        Owner:  anonymous
     Type:  defect               |       Status:  new      
 Priority:  high                 |    Milestone:  2.6.1    
Component:  Security             |      Version:           
 Severity:  major                |   Resolution:           
 Keywords:  revisions, autosave  |  
---------------------------------+------------------------------------------
Comment (by ryan):

 Confirming proper behavior.  For draft posts, autosave always overwrites
 the draft post itself. It does not create new revisions.  Explicitly
 saving a draft will create a revision, as intended.  After the explicit
 save, autosave continues to overwrite the draft.  It does not create
 revisions.

 When editing a published post, autosave creates one autosave revision.
 Autosave always uses this one revision to store autosaves.  Explicitly
 saving the post creates a revision, as intended.  After explicit saves,
 autosave continues to use the designated autosave revision.

 So, for drafts, autosave does not create revisions.  For published posts,
 autosave creates one revision and overwrites it for each autosave.  A
 published post will have at most one autosave revision.

 If autosaves are creating multiple revisions for you, you have a bug I
 cannot reproduce.  More details are needed.  Please note that explicit
 clicks of the Save and Publish buttons are not autosaves and should indeed
 create revisions.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7379#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list