Title: Saving Draft&#8230; not completing in WordPress 3.9
Last modified: August 21, 2016

---

# Saving Draft… not completing in WordPress 3.9

 *  [bobbingwide](https://wordpress.org/support/users/bobbingwide/)
 * (@bobbingwide)
 * [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/)
 * The first part of the save_post() method tests if this an autosave.
    If currently
   includes a die() statement, which prevents the editor from realising that the
   autosave is complete. This can cause it to leave the Publish button disabled.
 *     ```
       if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
         die( 'autosave' );
         return;
       }
       ```
   
 * Commenting out the die() line, and just relying on the return; fixes the problem
   for me.
 * See also [http://herbmiller.me/2014/04/20/problems-saving-draft-autosaves/](http://herbmiller.me/2014/04/20/problems-saving-draft-autosaves/)
 * [https://wordpress.org/plugins/post-type-switcher/](https://wordpress.org/plugins/post-type-switcher/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Strix technica](https://wordpress.org/support/users/strix-technica/)
 * (@strix-technica)
 * [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/#post-4830248)
 * We’re seeing the same problem. I haven’t tried bobbingwide’s fix (rather, we 
   simply disabled the plugin) — so far so good.
 * We’re still running v1.2 of the plugin (since autoupdate doesn’t appear to have
   noticed that 1.2.1 has been released) but it probably wouldn’t help anyway, because
   the only difference between 1.2 and 1.2.1 appears to be some CSS.
 * Would the Author please comment?
 *  Thread Starter [bobbingwide](https://wordpress.org/support/users/bobbingwide/)
 * (@bobbingwide)
 * [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/#post-4830259)
 * [@jjj](https://wordpress.org/support/users/jjj/) is aware of the problem. He 
   replied to my Tweets on the subject and is preparing and testing the fix.
 *  [Strix technica](https://wordpress.org/support/users/strix-technica/)
 * (@strix-technica)
 * [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/#post-4830260)
 * Ah excellent, thanks for the update.
 * (I guess /me is enough of a dinosaur not to use twitter… or even think of it 
   as a means to contact authors!)
 *  [VFHwebdev](https://wordpress.org/support/users/vfhwebdev/)
 * (@vfhwebdev)
 * [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/#post-4830321)
 * Just chiming in to say I’m experiencing the same problem. Have disabled the plugin
   for now and will wait for the update.
 *  [crosa](https://wordpress.org/support/users/crosa/)
 * (@crosa)
 * [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/#post-4830325)
 * Likewise – one of our properties relies heavily on this plugin for their editorial
   workflow. If the fix is as simple as what is above, I’m hoping it will be implemented
   quickly.
 *  [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/#post-4830327)
 * I’ve also got the issue. Save Draft, Preview and Publish were all disabled. Since
   this plugin isn’t critical for me, I disabled it. However I’ll bring it back 
   once the bug is fixed as it is a handy plugin.
 *  [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/#post-4830328)
 * So the plugin page says that 1.2 is the latest version but in 1.2.1 it was upgraded
   to work better with WordPress 3.9. Download says I’m downloading 1.2.1 but yet
   it says it’s version 1.2 when installed. :confused:
 * I’ve contacted JJJ via Twitter too. 🙂
 *  [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/#post-4830330)
 * JJJ said it’d be fixed in 1.3 when that comes out.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Saving Draft… not completing in WordPress 3.9’ is closed to new replies.

 * ![](https://ps.w.org/post-type-switcher/assets/icon-256x256.jpg?rev=1823578)
 * [Post Type Switcher](https://wordpress.org/plugins/post-type-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-type-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-type-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/post-type-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-type-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-type-switcher/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/saving-draft-not-completing-in-wordpress-39/#post-4830330)
 * Status: not resolved