Permalink
Browse files

Don't silence inclusion of advanced-cache.php for WP_DEBUG. fixes #13…

…185.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent a77ea8d commit 7843826140eaf6937731da3ebfaf0a5c5653d4ca nacin committed May 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-settings.php
View
@@ -57,7 +57,7 @@
// 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();

0 comments on commit 7843826

Please sign in to comment.