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.

Bookmark and Share

One Response to “Attempt to Save WordPress Post bug”

  1. Phil Edmonds says:

    Just as an addition to this – it appears that this bug has been resolved in WordPress version 3 – or at least it is not occurring in my installation of WP3.

Please inspire the world with your comments.

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>