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

WordPress Trac noreply at wordpress.org
Tue Jan 28 14:50:04 UTC 2014


#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:  trivial                     |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by GhostToast):

 I have tested various configurations of saving/pending/draft/publish and
 have found the following:

 * If a title '''''Computers/Robots''''' was saved prior to my patch, it's
 slug `computersrobots` remains unchanged despite various publish/unpublish
 status changes.
 * If a title '''''Computers/Robots''''' is pending for publish, and auto-
 slug generation occurs, `computers-robots` is assigned. Manually editing
 this slug back to `computersrobots` if desired, will be honored, despite
 any publish/save/unpublish status changes.
 * If a title '''''Computers/Robots''''' has been published with the patch,
 it's slug becomes `computers-robots` until manually edited.

 This all seems to be working as intended.

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


More information about the wp-trac mailing list