From e9d213e17e7e7779838d5e41b27c4a00659d30ae Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 28 Jun 2006 12:26:36 +0000 Subject: Some meta information goes in blog options, others into wp_blogs. (should fix #46 WRT "public" problem) git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@612 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/wpmu-functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wp-includes/wpmu-functions.php') diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php index 1331995..42a0ea9 100644 --- a/wp-includes/wpmu-functions.php +++ b/wp-includes/wpmu-functions.php @@ -1155,8 +1155,10 @@ function wpmu_create_blog($domain, $path, $title, $user_id, $meta = '', $site_id restore_current_blog(); - if ( is_array($meta) ) foreach ($meta as $key => $value) + if ( is_array($meta) ) foreach ($meta as $key => $value) { + update_blog_status( $blog_id, $key, $value ); update_blog_option( $blog_id, $key, $value ); + } do_action( 'wpmu_new_blog', $blog_id, $user_id ); -- cgit