Ticket #11952: sanitize-translation-of-hello-world-slug.2.diff
File sanitize-translation-of-hello-world-slug.2.diff, 606 bytes (added by , 15 years ago) |
---|
-
wp-admin/includes/upgrade.php
169 169 'post_excerpt' => '', 170 170 'post_title' => __('Hello world!'), 171 171 /* translators: Default post slug */ 172 'post_name' => _x('hello-world', 'Default post slug'),172 'post_name' => sanitize_title( _x('hello-world', 'Default post slug') ), 173 173 'post_modified' => $now, 174 174 'post_modified_gmt' => $now_gmt, 175 175 'guid' => $first_post_guid,