Changeset 10767 for trunk/wp-admin/includes/upgrade.php
- Timestamp:
- 03/10/2009 11:02:29 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/upgrade.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r10736 r10767 95 95 // Default category 96 96 $cat_name = __('Uncategorized'); 97 $cat_slug = sanitize_title(_c('Uncategorized|Default category slug')); 97 /* translators: Default category slug */ 98 $cat_slug = sanitize_title(_x('Uncategorized', 'Default category slug')); 98 99 99 100 $wpdb->insert( $wpdb->terms, array('name' => $cat_name, 'slug' => $cat_slug, 'term_group' => 0) ); … … 102 103 // Default link category 103 104 $cat_name = __('Blogroll'); 104 $cat_slug = sanitize_title(_c('Blogroll|Default link category slug')); 105 /* translators: Default link category slug */ 106 $cat_slug = sanitize_title(_x('Blogroll', 'Default link category slug')); 105 107 106 108 $wpdb->insert( $wpdb->terms, array('name' => $cat_name, 'slug' => $cat_slug, 'term_group' => 0) ); … … 169 171 'post_title' => __('Hello world!'), 170 172 'post_category' => 0, 171 'post_name' => _c('hello-world|Default post slug'), 173 /* translators: Default post slug */ 174 'post_name' => _x('hello-world', 'Default post slug'), 172 175 'post_modified' => $now, 173 176 'post_modified_gmt' => $now_gmt, … … 200 203 'post_title' => __('About'), 201 204 'post_category' => '', 202 'post_name' => _c('about|Default page slug'), 205 /* translators: Default page slug */ 206 'post_name' => _x('about', 'Default page slug'), 203 207 'post_modified' => $now, 204 208 'post_modified_gmt' => $now_gmt,
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)