summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-04 11:50:36 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-04 11:50:36 +0000
commit44322dc10630292a50aced9edaa19bce583b9bad (patch)
tree90139ab9e2b60d35c86f847c1b357d4fa045472a /index.php
parent04049a47b10386e868deceb2b1854e57eaf9101d (diff)
downloadwordpress-mu-44322dc10630292a50aced9edaa19bce583b9bad.tar.gz
wordpress-mu-44322dc10630292a50aced9edaa19bce583b9bad.tar.xz
wordpress-mu-44322dc10630292a50aced9edaa19bce583b9bad.zip
Add default uncategorized global category
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@123 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 5a43b2d..77235b0 100644
--- a/index.php
+++ b/index.php
@@ -393,6 +393,7 @@ function step3() {
$query = "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'admin_user_id', '1')";
$wpdb->query( $query );
$wpdb->query( "INSERT INTO ".$wpdb->site." ( id, domain, path ) VALUES ( NULL, '$domain', '$base' )" );
+ $wpdb->query( "INSERT INTO " . $wpdb->sitecategories . " VALUES (1, 'Uncategorized', 'uncategorized', '')";
$res = createBlog( $domain, $base, 'admin', $weblog_title, $email );
if( $res == 'ok' ) {