WordPress 2.6 Tip: Disable Post Revisions
Posted on July 19, 2008
3 Comments
As many bloggers are already aware, WordPress released version 2.6 earlier this week.
One of the big new features is Post Revisions:
With the power of modern computers, it’s silly that we still use save and editing metaphors from the time when the most common method of storage was floppy disks. WordPress has always respected the importance of your writing with auto-save, and now we’re taking that to another level by allowing you to view who made what changes when to any post or page through a super-easy interface, much like Wikipedia or a version control system.
Well, as always it seems that one person’s big feature can be an annoyance or unwanted feature to someone else.
Have no fear, this new feature is easily disabled. Just add the following line to your wp-config.php file:
define('WP_POST_REVISIONS', false);
(like any edit to the wp-config file, that line goes somewhere between the opening <?php and closing ?> tags)
My favorite feature of 2.6 so far is the Google Gears stuff. This is an interesting way to use Gears though. It’s not about offline support, but instead Gears is used to cache some of the files used to speed up some of the admin navigation.
Want more? Check out the pretty video:
[Hat tip to Gamerz and his WordPress Support thread]
Tags: google-gears, Post-Revisions, tip, WordPress
Possibly Related Posts
Comments
3 Responses to “WordPress 2.6 Tip: Disable Post Revisions”
Leave a Reply



You might also want to disable autosave with:
define(’AUTOSAVE_INTERVAL’, 600000)
That sets it to a very long interval. When editing an existing post, autosave creates a new “post” entry in the posts table, which isn’t deleted when you finish editing.
Good tip, Jonathan. Thanks for adding it.
Just thought you might like to know I’ve just updated my WP-CMS Post Control plugin that allows you to hide all aspects of your WordPress write post/page panels.
The update now allows to you enable/disable post revisions, autosaves and the Flash uploader - without having to edit a file!
You can read more about it and download it from http://wp-cms.com/our-wordpress-plugins/post-control-plugin/