[wp-trac] [WordPress Trac] #20338: Slugs and special chars
WordPress Trac
wp-trac at lists.automattic.com
Sat Mar 31 16:18:04 UTC 2012
#20338: Slugs and special chars
--------------------------+-----------------------------
Reporter: amirhabibi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3.1
Severity: normal | Keywords:
--------------------------+-----------------------------
When Wordpress generates a slug, the apostrophe mark is stripped.
Examples :
"I'm open" > im-open[[BR]]
"L'équipe" > lequipe[[BR]]
"Suzy's Place" > suzys-place[[BR]]
If the apostrophe is changed to "-" the auto generated slug will be more
"readable" (and better for seo) :
"I'm open" > i-m-open[[BR]]
"L'équipe" > l-equipe[[BR]]
"Suzy's Place" > suzy-s-place[[BR]]
Maybe a constant to define what strategy to adopt ?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20338>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list