Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above
Another new feature in WordPress blog publishing system added since WordPress version 2.6 is post revisions tracking similar to version control system, which provides Wiki-like style tracking of edits been made onto the posts or pages. Post revisions tracking allows bloggers and authors to view who, on when, made what changes to any post or page, with ability to compare for differences between each saved versions, or revert back to older version.

Each version of post revisions is stored in WordPress database in wp_posts table. Over time, the database may grows bigger and becomes bloated especially when user prefer to click on “Save” button while writing a post or page (contrary to popular belief, auto-save feature in WordPress does not actually trigger or create a new revision version, unless specifically configure). Increasing size of database will surely putting more strains to busy web server, and may slow down post retrieval and web page serving. Beside, WordPress database backups will take longer time and bigger bandwidth to be downloaded.
For WordPress 2.6 or newer version users who feel that post revisions feature is not useful and suffice with AutoSave feature built-in in WordPress editor, post revisions tracking and keeping feature can be disabled and turned off.
WordPress provides constant WP_POST_REVISIONS that can be used in wp-config.php configuration file or plugin to set the status state for post revisions feature. To turn off and disable automatic post revisions all versions saving feature in WordPress 2.6 or later version, simply add the following line of code to wp-config.php file located in the root or home directory of WordPress blog.
define(’WP_POST_REVISIONS’, false);
Once set, WordPress does not attempt to save or store any revisions, except the one AutoSave per post.
Related posts:
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working
- Adding Extra More Fields to WordPress Write/Edit Post/Page Right Column
- Retrieve and Get WordPress Post ID Outside the Loop as PHP Variable
- WordPress 2.6 with Change Revision Tracking Feature Available for Free Download
- Disable WordPress 2.3 Core and Plugins Update Check and Notification





[...] can turn the revisions feature off entirely using the wp-config file if you are old-skool, or using the No Revisions [...]
These revisions are very annoying,
I also used the delete sql command on the other post, works like a charm.
Thanks for the info!
Thanks, I've been looking for such an option. Having 20+ revisions because one is anal is not funny…
Although you says you can do this :
<code>
define('WP_POST_REVISIONS', false);
</code>
to disable revisions, you can also do this
<code>
define('WP_POST_REVISIONS', 3);
</code>
to limit the number of revisions to 3 (plus the autosave).
Not only that, if you now save a post/page which has more than 3 it will delete
the old ones for you!
[...] 資料來源:Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or AboveHow to Delete Existing WordPress Post Revisions Stored/Saved [...]
Hi, the single quotes above have been modified when serving to reader, just delete off and type by using keyboard should work.
thanks for this tip, however, you failed to mention that when copying and pasting the code into the wp-config.php, you should correct the single quote as the one you showed above cannot be read by php.
[...] was based on a suggestion from My Digital Life. There’s also a WordPress plugin that will do this for you so you don’t have to edit [...]
[...] problemu znalazłem na blogu My Digital Life, ale wszystko opisane jest lepiej u Lestera Chana. Ninja na swoim blogu napisał mniej więcej to [...]
Great tip. Thank you!
[...] נוספת: Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Revision Management – בקודקס של וורדפרס //OBSTART:do_NOT_remove_this_comment var [...]
Just to let you know I have included the ability to turn off (and back on!) post revisions in WordPress with my WP-CMS Post Control plugin over at
It also allows you to disable the Flash upload and hide every aspect of the write post/page areas in WordPress.
Excellent! Thanks for writing this useful guide
[...] 資料來源:Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or AboveHow to Delete Existing WordPress Post Revisions Stored/Saved Ctrl-z [↩]Post Revision 資料是寫入 wp_posts 資料表 [↩] [...]
[...] users who had disabled or turned off post revisions tracking or versions history feature in WordPress (added since WordPress 2.6), it is also made sense to delete and remove all existing [...]