summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-06-20 12:34:47 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-06-20 12:34:47 +0000
commit253937c75408a59922c63de868ca2ca5d8fbb59d (patch)
tree5cf39429ef41c9e1074a40289e6c021a1d590d34
parent4c950c05bac5aa25cd7f1246710af00a8205f638 (diff)
This should fix #355.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1002 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r--wp-includes/wpmu-functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index 535a5c8..dcbe43d 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -1298,6 +1298,8 @@ function install_blog($blog_id, $blog_title = '') {
populate_roles();
$wp_roles->_init();
// fix url.
+ wp_cache_delete('notoptions', 'options');
+ wp_cache_delete('alloptions', 'options');
update_option('siteurl', $url);
update_option('home', $url);
update_option('fileupload_url', $url . "files" );