Codeable info

Quick Tip: Disable Automatic Post Revision In WordPress

Posted on by in WordPress Tutorials

By default WordPress saves a post revision every two minutes. Any time a post is edited or altered WordPress takes note and saves the new post version over the old one. This can consume quite a bit of MYSQL hosting space, and can also slow down the WordPress application for some users.

This tutorial will highlight how to disable the WordPress post revision completely, so make sure it is absolutely necessary to implement this feature BEFORE doing so.

In order to perform this action you will need to be the WordPress blog or site owner and have admin access to the actual hosting files. Definitely make sure you have a complete backup of your WordPress database and source files before continuing.

In order to disable the WordPress post revision feature you must add the following code to your “wp-config.php” source file (this file can be found in the root directory of your WordPress install):

/* disable post-revision feature */
define('WP_POST_REVISIONS', FALSE);

That’s it, quite a simple procedure actually. Keep in mind that if you ever want to enable the feature again you will need to completely remove the code we just added.

)
Codeable info

Comments (11)

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Comment by Shashank Tiwari says:

You can even edit the wp-config.php file and add a simple line of code which will disable the auto draft being saved.

One method I found is over here http://www.l337fx.com/disable-draftrevisions-wordpress.html.

But they state revisions too, and I don’t think disabling revisions are worth unless you have large post counts being made.

Codeable info