From db729dffb361898ff2b0a756dcc90e221d4f739f Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 9 Apr 2007 18:05:25 +0000 Subject: Speed up switching and caching significantly (experimental!) git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@959 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wp-includes/functions.php') diff --git a/wp-includes/functions.php b/wp-includes/functions.php index dbe728f..df7ad74 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -210,8 +210,8 @@ function get_option($setting) { if ( $switched != false || defined('WP_INSTALLING') != false ) { wp_cache_delete($setting, 'options'); - wp_cache_delete('notoptions', 'options'); - wp_cache_delete('alloptions', 'options'); + #wp_cache_delete('notoptions', 'options'); + #wp_cache_delete('alloptions', 'options'); } // prevent non-existent options from triggering multiple queries -- cgit