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:
parent
decf135295
commit
5ebbe4bad2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue