[wp-trac] [WordPress Trac] #11952: Make sure translators enter valid slug of the first post

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 19 21:42:24 UTC 2010


#11952: Make sure translators enter valid slug of the first post
--------------------------+-------------------------------------------------
 Reporter:  nbachiyski    |       Owner:  nbachiyski
     Type:  defect (bug)  |      Status:  new       
 Priority:  high          |   Milestone:  3.0       
Component:  i18n          |     Version:  2.9       
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 Currently the slug of the first post is taken by the call:
 {{{
 _x('hello-world', 'Default post slug')
 }}}

 Then, this value is directly inserted in the database. If the translator
 entered a string in a non-sanitized form, the first post just won't open
 with pretty permalinks on.

 If we call {{{sanitize_title()}}} in the string, we can make sure the
 right value goes in the database.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11952>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list