[wp-trac] [WordPress Trac] #42740: Relative Links in Image Widget

WordPress Trac noreply at wordpress.org
Mon Jan 15 18:34:59 UTC 2018


#42740: Relative Links in Image Widget
--------------------------+--------------------
 Reporter:  kcrnc         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9.2
Component:  Widgets       |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------

Comment (by westonruter):

 In particular, the value of the `pattern` attribute I think should be:

 `((\w+:)?\/\/\w.*|\w+:(?!\/\/$)|\/|\?|#).*`

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


More information about the wp-trac mailing list