summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-edit.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-03-13 15:41:56 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-03-13 15:41:56 +0000
commitbe8dbc4bad3da9e06ce8250719265007cc3a99e0 (patch)
tree6a5e5d8dad474ccfafdb37b710cc75b527ef282b /wp-admin/wpmu-edit.php
parent981040398528adde7dc7b4b39f0004d98d57d3b5 (diff)
downloadwordpress-mu-be8dbc4bad3da9e06ce8250719265007cc3a99e0.tar.gz
wordpress-mu-be8dbc4bad3da9e06ce8250719265007cc3a99e0.tar.xz
wordpress-mu-be8dbc4bad3da9e06ce8250719265007cc3a99e0.zip
Set new blogs as public, fixes #532
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1205 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-edit.php')
-rw-r--r--wp-admin/wpmu-edit.php2
1 files changed, 1 insertions, 1 deletions
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 )