WordPress
WordPress 禁用自动保存 (AutoSave) 和历史版本 (Revisions)
四 16th
# 编辑
vim wp-config.php# 增加
define (‘WP_POST_REVISIONS’, false);
WordPress 修改/更新文章 POST ID
四 15th
[WordPress] 文章 Post ID 123 修改为 321, SQL语句如下:
update posts set id = 321 where id = 123;
update term_relationships set object_id = 321 where object_id = 123;
update postmeta set post_id = 321 where post_id = 123;
update comments set comment_post_ID = 321 where comment_post_ID = 123;
补充:
还需要修改 posts 表中的 guid
http://www.reistlin.com/?p=321