WordPress 3.6版 停用自動儲存
至今為止網路上說的方法都沒用!
直到我自己試了一下,發現正確的修改方式,修改如下:
1.wp-config.php檔先把兩個值改掉
define(‘WP_POST_REVISIONS’, false); //這個數值根本虎爛的,我改了False後 一樣還是給我自動儲存
define(‘AUTOSAVE_INTERVAL’, 86400 ); // 單位:秒 ,同上,這個值也是唬爛
上面兩個虎爛歸唬爛但我還是照改了。但最關鍵的是下面這個
2. wp-admin/post-new.php
把 wp_enqueue_script( ‘autosave’ ); 改成
//wp_enqueue_script( ‘autosave’ );
搞定收工!
以上成功在Wordpress 3.6版停用自動儲存
===============================
WordPress version 3.6 to disable autosave
So far the network said the method useless!
Until I tried it and found the correct way to modify, amend as follows:
1.wp-config.php file to first get rid of the two values
define (‘WP_POST_REVISIONS’, false); / / This value is simply rotten tiger, after I changed False or give me automatically saved as
define (‘AUTOSAVE_INTERVAL’, 86400); / / unit: seconds, supra, this value is also a fool rotten
The above two tiger rotten rotten but I still go fool according changed. But the most critical is the following
2. Wp-admin/post-new.php
The wp_enqueue_script (‘autosave’); into
/ / wp_enqueue_script (‘autosave’);
Get knock off!
More success in the WordPress version 3.6 to disable automatic storage