Skip to content

参考原文:https://blog.csdn.net/weixin_44409903/article/details/93626877

在wp-config.php文件里面增加一行代码:
//保存N个修订版本 define('WP_POST_REVISIONS', 2);
**//不保存任何版本(除了自动保存的版本) ** //define('WP_POST_REVISIONS', false);
**//保存所有修订版本 ** //define('WP_POST_REVISIONS', true);

Made with ❤️