[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:14:31 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 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.

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


More information about the wp-trac mailing list