Some words, pictures and sounds

Attempt to Save WordPress Post bug

Well for this weeks Tuesday Technical Tip I’m opting to mention something that is actually referred to on countless web pages (thus already further drifting away from my concept of uncommon problems.)

I’m mentioning this as a rather annoying bug in WordPress that has lost me a number of drafts of posts which I was working on.

The issue – which has had me banging my head against the proverbial wall half the evening – you come to save or publish a post you are editing and you get an error:

Your attempt to edit this post: foobar has failed. Please try again.

I have seen this quite a bit – and foolish I thought I’d have my ‘auto-saves’ to save me, but this proved not to be the case.

The well documented fix is to edit the wp-admin/post-new.php file and commenting out this line of code

//wp_enqueue_script('autosave');

This turns of auto-save – so remember to save them drafts.

« »

© 2009 - 2024 Phil Edmonds. Theme Design Anders Norén.