Skip to content

How to disable version tracking in WordPress 2.6

WordPress 2.6 keeps track of revisions, which is fine, except it does so with a new POST or PAGE ID in the post or page table every single time an edit is saved. For me that’s a total pain, as I craft preconfiguration scripts for WordPress installs on themes which utilize “sort by” and “order by” on posts and pages. So need to turn off revisions or my ID lists get filled with garbage during setup.
To turn off page revisions and post revisions, just set WP_POST_REVISIONS to false in your wp-config, or in your wp-settings if that suits you better.