Make WordPress Core

Changeset 2459


Ignore:
Timestamp:
03/21/2005 04:53:42 PM (19 years ago)
Author:
ryan
Message:

Add slug for default category. http://mosquito.wordpress.org/view.php?id=1092

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install.php

    r2455 r2459  
    154154
    155155// Default category
    156 $wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name) VALUES ('0', '".addslashes(__('Uncategorized'))."')");
     156$wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name, category_nicename) VALUES ('0', '".addslashes(__('Uncategorized'))."', '".sanitize_title(__('Uncategorized'))."')");
    157157
    158158// First post
Note: See TracChangeset for help on using the changeset viewer.