[wp-trac] [WordPress Trac] #10754: Unable to switch off post revisions

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 15 21:30:50 UTC 2009


#10754: Unable to switch off post revisions
--------------------------+-------------------------------------------------
 Reporter:  ashfame       |       Owner:  westi            
     Type:  defect (bug)  |      Status:  accepted         
 Priority:  normal        |   Milestone:                   
Component:  Revisions     |     Version:  2.8.4            
 Severity:  normal        |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by azaozz):

 Replying to [comment:7 ashfame]:
 > Will Autosaves create a new post ID every time...

  * If the post hasn't been saved yet, autosave saves it as draft.
  * If the post is a draft, autosave overwrites it.
  * If the post is published it creates new autosave revision.
  * If the post is published and there's an "autosave revision" already, it
 overwrites that revision.

 It's not a good idea to turn autosave off as it maintains the post lock,
 updates post_ID, nonces, etc.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10754#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list