Saving Draft… not completing in WordPress 3.9
-
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 https://herbmiller.me/2014/04/20/problems-saving-draft-autosaves/
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Saving Draft… not completing in WordPress 3.9’ is closed to new replies.