要通过phpmyadmin运行的SQL查询
DELETE a,b,c FROM wp_posts a LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id) WHERE a.post_type = \'revision\'
该查询将从wp数据库中删除所有post修订,,
But remember always back up your database before running any direct SQL query.. 您还可以在wp\\u config中添加一行。php将禁用修订(可选,我使用它是因为我发现修订有点痛苦)
define(\'WP_POST_REVISIONS\', false);