diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index c55bafda0..bf200f949 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -640,9 +640,9 @@ function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam $template = get_option( 'template' ); $stylesheet = get_option( 'stylesheet' ); if ( $template != $stylesheet ) - $allowed_themes = array( $template, $stylesheet ); + $allowed_themes = array( $template => true, $stylesheet => true ); else - $allowed_themes = array( $stylesheet ); + $allowed_themes = array( $stylesheet => true ); $wpdb->query( $wpdb->prepare( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, %d, 'site_name', %s)", $network_id, $site_name ) ); $wpdb->query( $wpdb->prepare( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, %d, 'admin_email', %s)", $network_id, $site_user->user_email ) ); diff --git a/wp-admin/ms-themes.php b/wp-admin/ms-themes.php new file mode 100644 index 000000000..49059e4c4 --- /dev/null +++ b/wp-admin/ms-themes.php @@ -0,0 +1,77 @@ + +
+
+
+
+