With WordPress 3.9 we got post revisions, which looks like can be a good thing if you have many contributors writing the same articles but with just me and me alone I noticed that as I wrote and edited my articles which can take up to a week deepening on the subject, my post revisions were adding up to 30+. Now this is not a good thing as if I had 100 article with 30 revisions then 3000 entries in the database instead of 100.

So off I went looking for the revisions off option in WordPress, ‘Oh!’ I said ‘there isn’t one’ then came ‘WHAT! Now that’s not a good thing’. Most of us do not need this new feature turn on automatically and having no simple configuration option in the WordPress admin is just bad practice, at moments like this I always want to move from WordPress press to a new platform but there isn’t any for me that does what I want without coding it myself.

That said a quick google search found out how to turn them off for good, so here goes. In your WordPress ‘wp-config.php’ file add these two lines:

And that’s it we have saved our database from unneeded abuse by WordPress and all that’s left to do is sing the song by Edwin Star in 1969:

Revisions… Huh… Yeah!
What is it good for?
Absolutely nothing!
Uhuh… uhuh…!

Revisions… Huh… Yeah!
What it is good for?
Absolutely nothing!
Say it again y’all
Revisions… Huh… Look out!
What is it good for?
Absolutely nothing!
Listen to me – AAH!
Revisions I despise
‘Cause it means destruction of innocent space
Revisions means tears in thousands of mothers’ eyes
When their sons go out to post and lose their time

I said:
Revisions… Huh… Good God y’all!
What it is good for?
Absolutely nothing!
Say it again
(Revisions… Huh!) Lord, Lord, Lord…
What is it good for?
Absolutely nothing!
Listen to me:

(Revisions) It ain’t nothing but a heartbreaker
(Revisions) Friend only to the undertaker
Revisions is the enemy of all mankind
The thought of war blows my mind
Revisions has caused unrest within the younger generations
Induction then destruction
Who wants to die?

AAH! Revisions… Huh… Good God y’all!
What is it good for?
Absolutely nothing!
Say it, say it, say it!
Revisions… Huh…! (Uhuh… Yeah… Huh!)
What is it good for?
Absolutely nothing!
Listen to me:

(Revisions) It ain’t nothing but a heartbreaker
(Revisions) Got one friend, thats the undertaker
Revisions has shattered many young men’s dreams
Made him disabled, bitter and mean
Life is but too surely precious, to spend fighting Revisions each day
Revisions can’t give life, it can only take it away!

AAH! Revisions… Huh… Good God y’all!
What it is a good for?
Absolutely nothing!
Say it again
Revisions… Huh… Lord, Lord, Lord…
What it is a good for?
Absolutely nothing!
Listen to me:

(Revisions) It ain’t nothing but a heartbreaker
(Revisions) Friend only to the undertaker
Peace, love and understanding tell me,
is there a place for these today?
They say we must fight to keep our freedom,
but Lord knows there’s got to be a better way

Revisions… Huh… Good God y’all!
What is it good for?
You tell me!
Say it, say it, say it, say it!
Revisions… Good God now… Huh!
What is it good for?
Stand up and shout it! (Nothing!)

Anyway enjoy a cleaner database now without all those silly revisions clogging up your database.

Love to hear your thoughts on this.