刚刚更新到wordpress 3.3,为了文章ID能够连续,找到这个方法: 修改主题中的functions.php,添加下面代码
/* 移除自动保存和修订版本 */
remove_action('pre_post_update', 'wp_save_post_revision' );
add_action( 'wp_print_scripts', 'disable_autosave' );
function disable_autosave() {
wp_deregister_script('autosave');
}