[wp-trac] [WordPress Trac] #42042: Permalink structure tags are sometimes added to the front the of the structure
WordPress Trac
noreply at wordpress.org
Mon Oct 23 21:48:59 UTC 2017
#42042: Permalink structure tags are sometimes added to the front the of the
structure
--------------------------+------------------------------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9
Component: Permalinks | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, accessibility, administration
needs-refresh |
--------------------------+------------------------------------------------
Comment (by felipeelia):
Replying to [comment:10 afercia]:
> Not sure what would be best. Inserting at the end is simpler and sort of
"fallback" behavior.
>
> Worth noting I see a different behavior across browsers. I can reproduce
this "bug" in Chrome, which returns `0` and `0` for `selectionStart` and
`selectionEnd` while Firefox appends at the end.
Thanks @afercia. So, do you think the first patch is good enough?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42042#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list