From be8dbc4bad3da9e06ce8250719265007cc3a99e0 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 13 Mar 2008 15:41:56 +0000 Subject: Set new blogs as public, fixes #532 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1205 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/wpmu-edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-admin/wpmu-edit.php') diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php index c2ec4a9..8af7fff 100644 --- a/wp-admin/wpmu-edit.php +++ b/wp-admin/wpmu-edit.php @@ -116,7 +116,7 @@ switch( $_GET['action'] ) { } $wpdb->hide_errors(); - $blog_id = wpmu_create_blog($newdomain, $path, wp_specialchars( $blog['title'] ), $user_id ,'', $current_site->id); + $blog_id = wpmu_create_blog($newdomain, $path, wp_specialchars( $blog['title'] ), $user_id , array( "public" => 1 ), $current_site->id); $wpdb->show_errors(); if( !is_wp_error($blog_id) ) { if( get_user_option( $user_id, 'primary_blog' ) == 1 ) -- cgit