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
This commit is contained in:
parent
7d2cd84b73
commit
11f6361840
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue