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

WordPress Trac noreply at wordpress.org
Wed Jan 17 21:00:50 UTC 2018


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

Comment (by afercia):

 Terminology notes:

 "relative vs absolute"
 URLs without the protocol part or without the domain name are still
 "absolute" if they don't depend on the context, for example:
 `/somepath/somefile`
 `//mysite.com/somepath/somefile`
 are absolute URLs

 Only URLs that depend on context, i.e. the location of the document
 they're used into, are "relative" for example:
 `somepath/somefile`
 `../somefile`

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


More information about the wp-trac mailing list