Limiting the number of revisions in WordPress

Tired of nine zillion revisions of your posts created on your WordPress site? Open up wp-config.php with a nice editor like Emacs or Pico/Nano or VI and add: define(‘WP_POST_REVISIONS’, false ); to disable post revisions completely. Or, if you just want to limit the number of revisions WordPress keeps: define(‘WP_POST_REVISIONS’, …

More