Posted By

jessibird on 09/28/10


Tagged

wordpress


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

jessibird
orangelemon


Delete WordPress revisions


 / Published in: MySQL
 

URL: http://weblogtoolscollection.com/archives/2010/09/28/deleting-wordpress-revisions/

Change \"wp\" to your database prefix. Note, this is the quick and dirty way. The more thorough way, which will also clean any tags or categories that are now unused, is here: http://www.snipplr.com/view/29570/get-rid-of-unused-post-revisions/

  1. DELETE FROM wp_posts WHERE post_type = "revision"

Report this snippet  

You need to login to post a comment.