Toggen Blog

Tech tips

Articles

Latest

Access

Blog History

Limit the number of WordPress revisions

Make wordpress keep a smaller number of revisions # wp-config.php # limit post revisions define('WP_POST_REVISIONS', 5); # put the setting before this comment /* That's all, stop editing! Happy blogging. */ Remove extra revisions DELETE r FROM wp_posts...