<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gHacks technology news &#187; wordpress tip</title>
	<atom:link href="http://www.ghacks.net/tag/wordpress-tip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Mon, 23 Nov 2009 22:22:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress: Your attempt to edit this post has failed</title>
		<link>http://www.ghacks.net/2009/02/02/wordpress-your-attempt-to-edit-this-post-has-failed/</link>
		<comments>http://www.ghacks.net/2009/02/02/wordpress-your-attempt-to-edit-this-post-has-failed/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 20:45:37 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress autosave]]></category>
		<category><![CDATA[wordpress blog]]></category>
		<category><![CDATA[wordpress bug]]></category>
		<category><![CDATA[wordpress error]]></category>
		<category><![CDATA[wordpress tip]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10296</guid>
		<description><![CDATA[There are usually two areas that can cause problems and errors in a Wordpress blog. The first are plugins that produce incompatibilities or display errors while the second are problems after updates of the blog software itself. 
There have been some problematic messages occasionally when trying to publish posts lately. The error message Your attempt [...]]]></description>
			<content:encoded><![CDATA[<p>There are usually two areas that can cause problems and errors in a Wordpress blog. The first are plugins that produce incompatibilities or display errors while the second are problems after updates of the blog software itself. </p>
<p>There have been some problematic messages occasionally when trying to publish posts lately. The error message Your attempt to edit this post [..] has failed appeared occasionally after upgrading to Wordpress 2.7. Wordpress was not able to publish the article which was bad enough but the underlying problem was that all work up to the point of the last auto save was lost as well.</p>
<p>This usually meant that the tags, categories and other last minute edits (like urls) were missing from the posts and had to be added again. The second edit and publishing always succeeded without difficulties.</p>
<p><span id="more-10296"></span>The first thought was that this could have something to do with the automatic saves of posts before publishing. A quick research on the Wordpress support forum seemed to confirm that.</p>
<p>The fix is apparently the following:</p>
<p>Locate the file post-new.php in the wp-admin folder of the Wordpress installation. Find the following line in that file <code>wp_enqueue_script('autosave');</code> and replace it with <code>//wp_enqueue_script('autosave');</code>.</p>
<p>The // in front of the row make the entire row a comment which essentially means that the command will not be executed. This will practically disable auto save during post publishing meaning that you will hacve to click on the Save Draft button before you leave an unfinished post page.</p>

	Tags: <a href="http://www.ghacks.net/tag/blog/" title="blog" rel="tag">blog</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a>, <a href="http://www.ghacks.net/tag/wordpress-autosave/" title="wordpress autosave" rel="tag">wordpress autosave</a>, <a href="http://www.ghacks.net/tag/wordpress-blog/" title="wordpress blog" rel="tag">wordpress blog</a>, <a href="http://www.ghacks.net/tag/wordpress-bug/" title="wordpress bug" rel="tag">wordpress bug</a>, <a href="http://www.ghacks.net/tag/wordpress-error/" title="wordpress error" rel="tag">wordpress error</a>, <a href="http://www.ghacks.net/tag/wordpress-tip/" title="wordpress tip" rel="tag">wordpress tip</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/" title="Wordpress Blogs: Create Custom Tag Pages (April 8, 2009)">Wordpress Blogs: Create Custom Tag Pages</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/11/25/wordpress-265-security-update/" title="Wordpress 2.6.5 Security Update (November 25, 2008)">Wordpress 2.6.5 Security Update</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/11/02/flash-10-breaks-wordpress-flash-file-uploader/" title="Flash 10 Breaks Wordpress Flash File Uploader (November 2, 2008)">Flash 10 Breaks Wordpress Flash File Uploader</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/08/05/zoundry-raven-portable-blog-editor/" title="Zoundry Raven portable Blog Editor (August 5, 2008)">Zoundry Raven portable Blog Editor</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/08/11/wordpress-remote-admin-password-reset-vulnerability/" title="Wordpress Remote Admin Password Reset Vulnerability (August 11, 2009)">Wordpress Remote Admin Password Reset Vulnerability</a> (13)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/02/wordpress-your-attempt-to-edit-this-post-has-failed/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
