The tutorial covers, How to Mass delete auto-saved posts or Post revisions in WordPress, how to delete the post revisions at one go using PHPMYADMIN and SQL query.
Step 1: Open your phpMyAdmin Control panel
Step 2: Click on the SQL tab to open the sql query text box
Step 3: Type the blow query made by Andrei Neculau
Note that if your WordPress DB Prefix is other than the default WP, Change that in the query. And execute the below query, you are Done !
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’;
NOTE: This method will delete all revisions from every post including all of its meta data.
That i was searching for hope it help.
Nice blog. I read you earn by blogging etc.
Do you like to answer my questions on my email?
What other things you do? Do you earn as much as you could have earned in being a job?
–
Satya
All questions on earning answered on NapIncome.com (my other blog)
regards
Joshu
I got this error:
#1054 – Unknown column '’revision’' in 'where clause'