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:

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


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.