一、操作数据库
将wp_posts表comment_status,ping_status值改为closed
UPDATE `wp_posts` SET `comment_status` = 'closed' WHERE `wp_posts`.`ID` >1;
UPDATE `wp_posts` SET `ping_status` = 'closed' WHERE `wp_posts`.`ID` >1;
声明:文中观点不代表本站立场。本文传送门:https://eyangzhen.com/1150.html