From decce5ae550728fdae851e5b3a9203e11fad8050 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Thu, 17 May 2012 20:21:36 -0600 Subject: [PATCH] Move WP_POST_REVISIONS definition to config.php --- inc/cleanup.php | 4 ---- inc/config.php | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/inc/cleanup.php b/inc/cleanup.php index 5cdf9e9..82a5ff1 100644 --- a/inc/cleanup.php +++ b/inc/cleanup.php @@ -586,10 +586,6 @@ function roots_notice_tagline_ignore() { add_action('admin_init', 'roots_notice_tagline_ignore'); -// set the post revisions to 5 unless the constant -// was set in wp-config.php to avoid DB bloat -if (!defined('WP_POST_REVISIONS')) { define('WP_POST_REVISIONS', 5); } - // allow more tags in TinyMCE including