Delete WordPress revisions


/ Published in: MySQL
Save to your folder(s)

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/


Copy this code and paste it in your HTML
  1. DELETE FROM wp_posts WHERE post_type = "revision"

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.