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

WordPress Trac noreply at wordpress.org
Tue Feb 3 18:42:39 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 dev-feedback  |     Focuses:
------------------------------------+-----------------------------
Changes (by corvidism):

 * keywords:  has-patch needs-unit-tests => has-patch dev-feedback


Comment:

 Replying to [comment:22 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.
 That's the current way of dealing with them, so no more coding or testing
 needed :) I think this might be done then!
 Now... I'm not sure what I'm supposed to do. Oops. :B I removed the
 ''needs-unit-tests'' tag, and tagged this ''dev-feedback'' - if I'm
 messing up, somebody please correct me.

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


More information about the wp-trac mailing list