[wp-trac] [WordPress Trac] #16036: A wide dash should be treated like a normal hyphen in permalink creation

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 27 17:16:00 UTC 2011


#16036: A wide dash should be treated like a normal hyphen in permalink creation
---------------------------------+--------------------
 Reporter:  brianlayman          |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  3.3
Component:  Permalinks           |     Version:  3.0.3
 Severity:  minor                |  Resolution:
 Keywords:  has-patch 3.2-early  |
---------------------------------+--------------------

Comment (by wpdavis):

 I've noticed problems with other special characters, such as curly quotes
 (’).

 WordPress includes a curly single quote in this slug:
 http://bangordailynews.com/2011/07/26/news/bangor/umaine-student’s
 -graffiti-project-art-not-vandalism/

 When I paste it into a textbox it turns into a symbol:
 http://bangordailynews.com/2011/07/26/news/bangor/umaine-student%E2%80
 %99s-graffiti-project-art-not-vandalism/

 Seems to me curly quotes should be stripped out of slugs just like
 straight apostrophes and quotes.

 I can submit a patch if desired.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16036#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list