Return to Snippet

Revision: 32557
at September 28, 2010 23:56 by jessibird


Initial Code
DELETE FROM wp_posts WHERE post_type = "revision"

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

Initial Description
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/

Initial Title
Delete WordPress revisions

Initial Tags
wordpress

Initial Language
MySQL