I’m using WordPress now for 2 weeks at the moment and I was searching in the database with my control panel for some content. It surprised me that I saw a lot of duplicate content. After a search I’ve found out that these duplicate records are called Revisions – old copy’s witch are save by the auto-save functionality that is build in WordPress.
Still, the revision feature is great. When you’re working with a large team on a WP blog it’s very handy to see all the changes that users have been made and also the auto-save function is to important to throw it away. So here we are, a small plugin that deletes the revision records when you publish the article.
Note
I’m aware of the small amount of data that is stored in this revisions. But when I have a 1000 posts with 5 revisions it turns out to be a great number off useless posts. This amount of posts decreases the speed of some WordPress features. Read the discussion on the support forum.
Features
It’s important that you know which posts are going to be deleted and when.
- When you publish a post
- When you schedule a post
- When you edit an published post
Compatibility
This plugin is only tested with WordPress 2.7 but will probably work just as well with WordPress 2.6. Have you tested in 2.6? Please let me know in the comments area.
Installation
- Upload the `wp-cleanup-revision-posts` folder to your `/wp-content/plugins/` directory.
Or upload the file in your WordPress backend under Plugins/Add New. - Activate the plugin through the ‘Plugins’ menu in WordPress.
Changelog
This is the first version, no changes yet.
Download
Download this new Cleanup revision posts plugin. Later this week this it will be available at the WordPress repository and than you’ll get noticed when new versions are available.




