WordPress Users

Should you find, after upgrading your version of WordPress, that attempting to publish a post results in it not publishing and a page being displayed which reads “your attempt to edit this post has failed” and asks you to try again, I have found a way to make that stop happening.

1. open the file post-new.php found in the wp-admin folder
2. find the line that says wp_enqueue_script(‘autosave’ ); and type // in front of it to turn it into a comment rather than a command
3. save the file and replace the old one on your ftp client

This disables the autosave of the posting page. Not having autosave on does mean running the slight risk that your browser will crash, the electricity will go out, or some other crisis will leave you having written a thousand words and not having a single one of them saved, but in my eyes, it’s worth that slight risk not to have to jump through hoops to get my posts to publish the moment I hit the publish button.

And if this is the only problem I am going to have after upgrading, I’d say it’s gone very well. I should have upgraded ages ago. The new backend is very nice!

Comments are closed.