Disable Wordpress 2.6 Post Revisions

Filed Under development |   

Post Revisions Tracking is a new features of Wordpress 2.6, Which makes it a lot easier to share writing between people. Since you can save your copy, and the other person can see what you changed. Also you can revert to previous revisions of posts you’ve made.

But if there is only one author of WordPress blog, Post Revisions will taking too much space as every revision is a new row in wp_post table. It creates a alot of useless database-entries.

To disable Post Revisions, Add:

define('WP_POST_REVISIONS', false);

into wp-config.php, the wordpress 2.6 Post Revisions now disabled.

In my little opinion, there should be an option in general or writing settings to enable/disable the post revision feature.

Related posts


Comments

3 Responses to “Disable Wordpress 2.6 Post Revisions”

  1. Jonathan on July 21st, 2008 6:18 am

    You might also want to disable autosave, which also creates an extra row in the table when editing an existing post.
    define(’AUTOSAVE_INTERVAL’, 600000)
    sets the interval to a very long period, so you won’t ever get an auto save.

  2. Jonnya on August 2nd, 2008 12:04 pm

    You might also want to try out my plugin WP-CMS Post Control over at <a href=”http://wp-cms.com/our-wordpress-plugins/post-control-plugin/” title=”WP-CMS Post Control plugin”WP-CMS Mods

    You can turn post revisions on and off, including an option to keep them active, but hide the menu! Also you can control WordPress autosaves and disable the Flash uploader.

    It has just been updated to allow control over every aspect of the write panel - using plugins means you don’t have to edit your wp-config.php file, just control it all through a nice admin menu!

  3. Desabilitar a opção Post Revision no WordPress 2.6 on August 7th, 2008 6:53 am

    [...] que vi em dois sites (primeiro e segundo) pode-se facilmente desabilitar a revisão de posts adicionando a linha abaixo no arquivo [...]

Leave a Reply