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

WordPress Trac noreply at wordpress.org
Sun Mar 12 21:34:20 UTC 2017


#10792: Forward Slashes convert to hyphens in post slugs
--------------------------+-----------------------------
 Reporter:  alxndr        |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  low           |   Milestone:  Future Release
Component:  Permalinks    |     Version:  3.8
 Severity:  minor         |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+-----------------------------

Comment (by corvidism):

 Replying to [comment:28 swissspidy]:
 > Thanks, @corvidism! It looks like additions and removals are reversed in
 your patch, i.e. there's more red than green in [attachment:10792.patch].
 Plus, [attachment:10792-only-slashes-w-unittests.diff] seems to have a few
 tests for slashes as well that could be included.

 Ooops, yeah, sorry about that - I followed the instructions on
 https://make.wordpress.org/core/handbook/contribute/git/ and they're wrong
 (they do the diff in the wrong direction).

 I used all those tests from 10792-only-slashes-w-unittests.diff, though,
 they're in the fixed patch.

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


More information about the wp-trac mailing list