Sanitize translation of default post slug. Props nbachiyski. fixes #11952

git-svn-id: http://svn.automattic.com/wordpress/trunk@12784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-21 07:19:23 +00:00
parent decf135295
commit 5ebbe4bad2
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ function wp_install_defaults($user_id) {
'post_excerpt' => '',
'post_title' => __('Hello world!'),
/* translators: Default post slug */
'post_name' => _x('hello-world', 'Default post slug'),
'post_name' => sanitize_title( _x('hello-world', 'Default post slug') ),
'post_modified' => $now,
'post_modified_gmt' => $now_gmt,
'guid' => $first_post_guid,