I needed to turn off post revisions in Wordpress 2.6. My personal blog sends a note to Twitter when it would update and it kept spamming Twitter with the revisions. So after a little search, here is how to turn off post revisions in Wordpress.
If there are several authors of a blog this feature might be useful but this is a stupid default setting for 99% of the bloggers out there.
Here is how post revision works, whenever a post is edited, a new row will be created in wp_posts table. So if your posts or pages got edited 10 times, you will have 10 new rows in wp_posts table.
Before you know it your wp_posts table will be filled up and the post ID will be huge.
To turn off this feature, add this following code to wp-config.php:
1 |
define('WP_POST_REVISIONS', false); |
There you have it.
Posted on Thursday, September 4, 2008 by Carl Thomas / Affiliate Preacher |
Comments(0)











Categories