[wp-trac] [WordPress Trac] #18149: Enhance "Insert/edit link" to predict user's intent

WordPress Trac noreply at wordpress.org
Sun Aug 25 00:46:33 UTC 2013


#18149: Enhance "Insert/edit link" to predict user's intent
-------------------------+------------------------------
 Reporter:  itsalltech1  |       Owner:  azaozz
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:  3.1
 Severity:  minor        |  Resolution:
 Keywords:  2nd-opinion  |
-------------------------+------------------------------

Comment (by knutsp):

 I don't think the explanatory text to the checkbox is needed at all. I
 mentioned it to make a point. Users usually doesn't select options the
 don't understand, but leave it as is.

 Without a checkbox, it will be hard to detect or guess if a link like
 `foo.bar` is a host name or a local path.

 Another way is simply doing it like the WordPress (removed) Link Manager -
 Add new Link already does this, by not allowing relative URLs without a
 protocol (scheme component).  `http:foo` and `http:/foo` is accepted as a
 valid relative, and root relative, URLs by browsers I know.

 In Link Manager input `foo` automatically becomes `http://foo` upon save,
 but `http:foo` is accepted as is. At some point in WordPress history
 someone made a decision about this. May still be good.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/18149#comment:45>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list