[wp-trac] [WordPress Trac] #16036: A wide dash should be treated like a norma hyphen in url shortening

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 30 05:19:28 UTC 2010


#16036: A wide dash should be treated like a norma hyphen in url shortening
--------------------------+-----------------------------
 Reporter:  brianlayman   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Permalinks    |    Version:  3.0.3
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 I'm not sure how obvious this will be when viewed but the issue is that it
 is possible (through cut & paste perhaps) to have a long dash included in
 the title of a post. It actually looks better that way and doesn't seem to
 get url encoded.  And it remains intact when the text is cleaned.

 So if the blog is titled:
 Grades 9 – 12: Math Foundational Skills

 instead of
 Grades 9 - 12: Math Foundational Skills

 The url becomes:
 grades-9-–-12-math-foundation-skills

 Instead of
 grades-9-12-math-foundation-skills

 So slugs would do this on links and categories too. Anything that uses
 that same clean functionality.

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


More information about the wp-trac mailing list