【方法一】
修改根目录下的wp-config.php文件,在“define(‘WP_DEBUG’, false);”后边添加如下代码:
define('WP_DEBUG', false); define( 'AUTOSAVE_INTERVAL', false ); define('WP_POST_REVISIONS', false );【法二】
模板函数functions.php文件里面加入下面的代码:function disableAutoSave(){ wp_deregister_script('autosave'); } add_action( 'wp_print_scripts', 'disableAutoSave' );