bits-and-pieces category image Post Revisions Off

Posted on November 23, 2008 and last modified on May 5th, 2009.

One of the latest features of WordPress is the inclusion of post revisions [since about version 2.6 if memory serves me correctly] and whilst I can see the use of it in some instances, personally, I would rather it was not automatically enabled.

Basically, it is an autosave function and I find that it gets in my way rather than helps me in my writing. There is always going to be that instance when i wish it was there I guess, but having not had it in place for so long, i just don’t need it now.

So, how to disable it? It would be nice if there was a tickbox which would allow for this, but unfortunately there isn’t. So it involves a simple piece of code being added to your wp-config.php file.

To do this, you need a text editor [no. not Notepad] and you simply add the following line of code to the file [directly under the other lines of 'define' already in place].

define(‘WP_POST_REVISIONS’, false);

Related Posts:

Widgets?
Edit Your Posts

About the author

JamesICT has added 31 posts to this site so far...

Owner/administrator of many sites, including FreshlyPressed.net, James is a website workaholic. Give him a problem to fix and he will not stop until it is completed. Just read his testimonials and it is not hard to see, James is the man when it comes to helping you with your website.

Other posts by JamesICT

Trackbacks/Pingbacks

  1. [...] [Original article source: JamesICT] [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>