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
This commit is contained in:
Andrew Nacin 2010-05-02 22:18:36 +00:00
parent b54e64fd1a
commit 4a9eb3d31f
1 changed files with 1 additions and 1 deletions

View File

@ -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();