其实方法很简单,一句代码就可以搞定哈! 在主题functions.php中加入以下代码即可: /*remove_post_revision_and_autosave_wp3*/ remove_action(‘pre_post_update’, ‘wp_save_post_revision’ ); function disable_autosave() { wp_deregister_script(‘autosave’); } add_action( ‘wp_print_scripts’, ‘disable_autosave’ ); 此方法适用于WP3.0以上版本!
Read more