diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-05-09 17:26:50 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-05-09 17:26:50 +0000 |
commit | b5b8f7fba1f7062c5b5f308dcf2f14d6f75efdda (patch) | |
tree | 39811a7cd86907b82248f53c24da53cceef7f87c /wp-includes | |
parent | 6c2e099541c67e7b75a62d5308d4e516215e282d (diff) | |
download | wordpress-mu-b5b8f7fba1f7062c5b5f308dcf2f14d6f75efdda.tar.gz wordpress-mu-b5b8f7fba1f7062c5b5f308dcf2f14d6f75efdda.tar.xz wordpress-mu-b5b8f7fba1f7062c5b5f308dcf2f14d6f75efdda.zip |
This makes switching work when using an object cache
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1280 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes')
-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 1a08fb8..b1b85bd 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -204,8 +204,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 |