From a45c3a3f2331bf0328c6efb03985491c43c77006 Mon Sep 17 00:00:00 2001 From: rob1n Date: Sat, 19 May 2007 04:32:28 +0000 Subject: [PATCH] Don't fail when the user don't set WP-Cache up correctly. Props Denis de Bernardy. fixes #4293 git-svn-id: http://svn.automattic.com/wordpress/trunk@5491 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index 92d59d5b7..0b5b81ec6 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -81,7 +81,7 @@ error_reporting(E_ALL ^ E_NOTICE); // For an advanced caching plugin to use, static because you would only want one if ( defined('WP_CACHE') ) - require (ABSPATH . 'wp-content/advanced-cache.php'); + @include ABSPATH . 'wp-content/advanced-cache.php'; define('WPINC', 'wp-includes');