Add slug for default category. http://mosquito.wordpress.org/view.php?id=1092
git-svn-id: https://develop.svn.wordpress.org/trunk@2459 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b9f4e3308d
commit
b3bf4ec4da
|
@ -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