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

WordPress Trac noreply at wordpress.org
Tue Nov 28 20:53:46 UTC 2017


#42740: Relative Links in Image Widget
--------------------------+-----------------------------
 Reporter:  kcrnc         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:  4.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When using the image widget and adding a custom URL, I noticed that
 relative links are not supported.

 Adding a relative link to the widget result in an error being shown(red
 highlighted box) and then the widget doesn't save.

 I think this may be a feature not a bug, but I can think of a few times
 when you might want to be able to put a link there without including the
 'http' or 'https.'

 Like if you want to add an anchor instead of a link, like #some_div

 or if you want the link to work regardless of whether HTTP or HTTPS is
 being used.

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


More information about the wp-trac mailing list