[wp-trac] [WordPress Trac] #10792: Forward Slashes convert to hyphens in post slugs
WordPress Trac
noreply at wordpress.org
Mon Dec 8 16:59:55 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: minor | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Changes (by miqrogroove):
* keywords: has-patch dev-feedback 2nd-opinion => has-patch needs-unit-
tests
* severity: trivial => minor
Comment:
To move this forward, let's see some tests, and let's make sure multiple
slashes or spaces never convert into multiple hyphens. I'm in favor of
jtsternberg's idea to convert ampersand to a hypen rather than to strip,
assuming we are not dealing with HTML encoded strings.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10792#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list