Du musst dich anmelden um Beiträge und Themen zu erstellen. Einloggen · Registrieren

Limit WordPress Post Revisions

If you like the idea of WordPress-2.6’s new post-revisioning feature, but don’t want thousands of extra records bloating up your database, here is an easy way to limit the total number of revisions that WordPress is allowed to keep. This code will instruct WordPress to keep only the most recent “x” number of revisions:

/* limit number of post revisions */ 
define('WP_POST_REVISIONS', 3);

Place that line above the “Happy blogging” comment in the wp-config.php file and enjoy conserved disk space and less Admin clutter. Change the number “3” to any number you wish. Works a treat.

Source: Digging into WordPress