<?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>华斐Blog &#187; 自动保存</title>
	<atom:link href="http://www.huafei117.com/tag/%e8%87%aa%e5%8a%a8%e4%bf%9d%e5%ad%98/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huafei117.com</link>
	<description>华斐网志以及学习心得</description>
	<lastBuildDate>Wed, 28 Dec 2011 02:36:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>禁用wordpress的自动保存和历史版本</title>
		<link>http://www.huafei117.com/2010/07/20/%e7%a6%81%e7%94%a8wordpress%e7%9a%84%e8%87%aa%e5%8a%a8%e4%bf%9d%e5%ad%98%e5%92%8c%e5%8e%86%e5%8f%b2%e7%89%88%e6%9c%ac/</link>
		<comments>http://www.huafei117.com/2010/07/20/%e7%a6%81%e7%94%a8wordpress%e7%9a%84%e8%87%aa%e5%8a%a8%e4%bf%9d%e5%ad%98%e5%92%8c%e5%8e%86%e5%8f%b2%e7%89%88%e6%9c%ac/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 07:03:59 +0000</pubDate>
		<dc:creator>华斐</dc:creator>
				<category><![CDATA[玩转Wordpress]]></category>
		<category><![CDATA[autosave]]></category>
		<category><![CDATA[revisions]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[历史版本]]></category>
		<category><![CDATA[自动保存]]></category>

		<guid isPermaLink="false">http://www.huafei117.com/207.htm</guid>
		<description><![CDATA[无意中发现发表的文章的ID是不连续的，才知道还没有禁用wordpress的自动保存和历史版本功能&#8230; 禁用历史版本（Revisions）： 在wp-config.php中加入: define(&#8216;WP_POST_REVISIONS&#8217;, false); 禁用自动保存（AutoSave）； 打开以下4个文件 wp-admin/post-new.php wp-admin/post.php wp-admin/page-new.php wp-admin/page.php 注释掉这行 //wp_enqueue_script(&#8216;autosave&#8217;);]]></description>
			<content:encoded><![CDATA[<p>无意中发现发表的文章的ID是不连续的，才知道还没有禁用wordpress的自动保存和历史版本功能&#8230;</p>
<p><strong>禁用历史版本（Revisions）：</strong></p>
<p>在wp-config.php中加入:</p>
<blockquote><p>define(&#8216;WP_POST_REVISIONS&#8217;, false);</p>
</blockquote>
<p><strong></strong></p>
<p><strong>禁用自动保存（AutoSave）；</strong>    <br />打开以下4个文件</p>
<blockquote><p>wp-admin/post-new.php     <br />wp-admin/post.php      <br />wp-admin/page-new.php      <br />wp-admin/page.php</p>
</blockquote>
<p>注释掉这行</p>
<blockquote><p>//wp_enqueue_script(&#8216;autosave&#8217;);</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.huafei117.com/2010/07/20/%e7%a6%81%e7%94%a8wordpress%e7%9a%84%e8%87%aa%e5%8a%a8%e4%bf%9d%e5%ad%98%e5%92%8c%e5%8e%86%e5%8f%b2%e7%89%88%e6%9c%ac/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

