diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-04-09 18:05:25 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-04-09 18:05:25 +0000 |
commit | db729dffb361898ff2b0a756dcc90e221d4f739f (patch) | |
tree | e070cfdcd1280133c721d4b5fb9ede409fa7268d /wp-includes/functions.php | |
parent | 77d36df7fb95410dceea64cc864e57edce58ee6f (diff) | |
download | wordpress-mu-db729dffb361898ff2b0a756dcc90e221d4f739f.tar.gz wordpress-mu-db729dffb361898ff2b0a756dcc90e221d4f739f.tar.xz wordpress-mu-db729dffb361898ff2b0a756dcc90e221d4f739f.zip |
Speed up switching and caching significantly (experimental!)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@959 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/functions.php')
-rw-r--r-- | wp-includes/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 |