From a06446a1b453d5cbdbd0b1bde4ddb327eab382f3 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 26 Feb 2005 20:46:12 +0000 Subject: [PATCH] Give first post a slug. http://mosquito.wordpress.org/view.php?id=987 Props: MaThIbUs git-svn-id: https://develop.svn.wordpress.org/trunk@2386 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 69af43b548..81ef91863d 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -150,7 +150,7 @@ $wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name) VALUES ('0', 'Unc // First post $now = date('Y-m-d H:i:s'); $now_gmt = gmdate('Y-m-d H:i:s'); -$wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_category, post_modified, post_modified_gmt) VALUES ('1', '$now', '$now_gmt', 'Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!', 'Hello world!', '0', '$now', '$now_gmt')"); +$wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_category, post_name, post_modified, post_modified_gmt) VALUES ('1', '$now', '$now_gmt', 'Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!', 'Hello world!', '0', 'hello-world', '$now', '$now_gmt')"); $wpdb->query( "INSERT INTO $wpdb->post2cat (`rel_id`, `post_id`, `category_id`) VALUES (1, 1, 1)" );