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

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 15 22:56:16 UTC 2009


#10792: ampersands and slashes stripped out of slugs
-------------------------+--------------------------------------------------
 Reporter:  alxndr       |       Owner:            
     Type:  enhancement  |      Status:  new       
 Priority:  low          |   Milestone:  Unassigned
Component:  General      |     Version:            
 Severity:  trivial      |    Keywords:            
-------------------------+--------------------------------------------------
 In slugs for taxonomies or post permalinks, slashes (/\) and ampersands
 (&) are stripped out. More useful URLs would be created by turning slashes
 into hyphens, and ampersands into the word "and".

 e.g.:

 "songs by Lennon/McCartney"[[BR]]
 expected slug: "songs-by-lennon-mccartney"[[BR]]
 actual slug: "songs-by-lennonmccartney"

 "Us & Them"[[BR]]
 expected slug: "us-and-them"[[BR]]
 actual slug: "us-them"

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


More information about the wp-trac mailing list