[wp-trac] [WordPress Trac] #10792: ampersands and slashes stripped out of slugs

WordPress Trac noreply at wordpress.org
Fri Jan 24 18:04:36 UTC 2014


#10792: ampersands and slashes stripped out of slugs
-------------------------------------+-----------------------------
 Reporter:  alxndr                   |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  low                      |   Milestone:  Future Release
Component:  Formatting               |     Version:
 Severity:  trivial                  |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------

Comment (by F J Kaiser):

 Replying to [comment:7 SergeyBiryukov]:
 > We already have `__(' and ')` string in .pot from `wp_sprintf_l()`, so
 we probably can use it here.

 I'm not too sure how someone would react if they got a site where the
 internal language is defined to be Korean, but the post is written in
 English. Example Title:

     Me & her spend a wonderful weekend together

 URL after the patch converted {{{&}}} to {{{__('and')}}} and therefor to
 Korean: {{{와}}}

 {{{http://my-korean-blog.kr/me-와-her-spend-a-wonderful-weekend-
 together}}}

 Very sure that it would be better to simply replace an ampersand with a
 dash.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/10792#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list