Disable Revisions in WordPress?

How to disable revisions in WordPress?

1. Open wp-config.php in your WordPress root directory

2. Anywhere add the following code inside wp-config.php

define('WP_POST_REVISIONS', false);

Done.




For more WordPress tutorials

Follow us on Twitter
Subscribe to our Feeds
Become a Fan on Facebook
Added Monday, October 25th, 2010. Category WordPress Keywords

5 Responses and Counting

Sichere 10.25.2010

Lovely sharp post. Never thought that it was this easy.


Jen

I really don’t have any idea about these revisions so in case that I will be encountered this problem I think I should put wp-config.php in my mind. Anyway, the codes are also important. Anyone will not find it difficult because the steps are very much understandable.


This was very helpful. Thanks for the tut!


I’ve been looking for some films and my brother recommended iTunes. It was simply nice unlike other renting movie online which requires a lot of details to fill up. Nice tutorials in this site! More power to you guys.


Yeah! This one helped me a lot. I wonder for some revision options are hidden well. But this one is constant that can be set a plug-in or in your wp-settings.php file. WP_POST_REVISIONS that is true (default), -1: store every revision, false, 0: do not store any revisions (except the one autosave per post) and (int) > 0: store that many revisions (+1 autosave) per post. Old revisions are automatically deleted.


Add your comment




New Tutorials in your inbox!






Most Popular Category Today

Think Tutorial is a database of simple, easy to follow tutorials covering all aspects of popular computing. Technology is fantastic, but it can be difficult to keep up with at times. Think Tutorial's strength and success resides in its very intuitive approach and design that keeps everything simple and organized.

Statistics

TUTORIALS PUBLISHED
1,442

EQUATES TO
+3700 minutes
or
+62 hours of continuous education.

USERS ONLINE
396

AWESOME FACEBOOK FANS
5450

Why Free?

Free, easy, useful and straight-to-the-point stuff? That's what people want!

Follow Us

RSS Subscribe to Feeds
facebook Be a fan on Facebook
twitter Follow us on Twitter


© 2010-2012 Prestance, Inc. All right reserved.

All Trademarks and Brands displayed on ThinkTutorial are the sole property of their respective owners/creators and All third party trademarks are the exclusive property of the respective companies and their use does not indicate endorsement.