Horje
How to Set a maximum number of post revisions to avoid DB bloat

The default is infinite, and this will set it to only remember the last five edits:


Set a maximum number of post revisions to avoid DB bloat

Just copy and past following codes to yourdomain.com/wp-config.php

Example: PHP
/**
 * Set the post revisions unless the constant was set in wp-config.php
 */
if (!defined('WP_POST_REVISIONS')) define('WP_POST_REVISIONS', 5);





Related Articles
How to Set a maximum number of post revisions to avoid DB bloat Wordpress Post Shortcode

Single Articles
Set a maximum number of post revisions to avoid DB bloatWordpress Post Shortcode

Read Full:
Wordpress Post Shortcode
Category:
Web Tutorial
Sub Category:
Wordpress Post Shortcode
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
37
Tested on:
WordPress 3.0.1



Share on: