From 4a9eb3d31f045e265fe9e75e87a5ebd6023bb4cd Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 2 May 2010 22:18:36 +0000 Subject: [PATCH] Don't silence inclusion of advanced-cache.php for WP_DEBUG. fixes #13185. git-svn-id: https://develop.svn.wordpress.org/trunk@14345 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index 9cea140dc9..473f2c6cdd 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -57,7 +57,7 @@ wp_debug_mode(); // For an advanced caching plugin to use. Uses a static drop-in because you would only want one. if ( WP_CACHE ) - @include( WP_CONTENT_DIR . '/advanced-cache.php' ); + WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' ); // Define WP_LANG_DIR if not set. wp_set_lang_dir();