Don't silence inclusion of advanced-cache.php for WP_DEBUG. fixes #13185.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a77ea8d632
commit
7843826140
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue