[wp-trac] [WordPress Trac] #10792: Forward Slashes convert to hyphens in post slugs

WordPress Trac noreply at wordpress.org
Tue Feb 3 13:23:30 UTC 2015


#10792: Forward Slashes convert to hyphens in post slugs
----------------------------------------+-----------------------------
 Reporter:  alxndr                      |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  low                         |   Milestone:  Future Release
Component:  Formatting                  |     Version:  3.8
 Severity:  minor                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:20 corvidism]:
 > IMO replacing "&" to "-and-" or "&c." to "-etc-" is wrong, because it
 ignores languages other then English. Should we replace it with a dash,
 too?

 Yes, let's replace a standalone ampersand (not a part of an HTML entity)
 with a hyphen as well.

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


More information about the wp-trac mailing list