From 11f63618405dd7dfc7a0518438e81c646b13aaae Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 21 Mar 2005 16:53:42 +0000 Subject: [PATCH] Add slug for default category. http://mosquito.wordpress.org/view.php?id=1092 git-svn-id: http://svn.automattic.com/wordpress/trunk@2459 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index e4275b50af..743a8328e6 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -153,7 +153,7 @@ $wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link $wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES ('http://dougal.gunters.org/', 'Dougal', 1, 'http://dougal.gunters.org/feed/');"); // Default category -$wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name) VALUES ('0', '".addslashes(__('Uncategorized'))."')"); +$wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name, category_nicename) VALUES ('0', '".addslashes(__('Uncategorized'))."', '".sanitize_title(__('Uncategorized'))."')"); // First post $now = date('Y-m-d H:i:s');