Delete Your Posts Revisions! Simply, Quickly!
Did you bored with your revisions and sometimes WordPress post revisions dont let change post! When i try to change my 6 months-old post, revisions stop the changes everytime. If you get this warning like me, you can delete them with one line Mysql command. Lets Begin.We will change our database fields with this function. If you don’t know abut PHPMyadmin don’t use this function. Because this function change wp_posts and post_type columns on the database!
Firstly i think you should make a backup on mysql. Because this command will change our wp_posts and post_type columns. After the backup you can use this code with SQL area of PHPMyadmin.
Here is the code;
DELETE FROM wp_posts WHERE post_type = "revision";
We have a post_type area on our wp_posts table. This area have ‘page’, ‘revision’, ‘post’ content. We will delete ‘revision’ one. And then we will make a low-weight database and we won’t get a revision error.
That’s All. Have a nice day!

Recent Comments