[wp-trac] [WordPress Trac] #22946: Default filter erroneously turns FTP hostnames into HTTP links

WordPress Trac noreply at wordpress.org
Fri Jun 27 16:41:13 UTC 2014

#22946: Default filter erroneously turns FTP hostnames into HTTP links
 Reporter:  DavidAnderson    |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Formatting       |     Version:  2.0.4
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  close has-patch  |     Focuses:

Comment (by DavidAnderson):

 I think this misses the point... the filter is automatically making things

 e.g. Someone poster on a site adds a comment "Hey guys, just use this FTP
 server: ftp.example.com".

 make_clickable() will then, via the *default* filter, turn that into:
 http://ftp.example.com - and the people reading the comment will click and
 be sent to a website.

 Commenters on a website can't be expected to know about the internal
 habits of WordPress in this kind of thing. WordPress should either not
 automatically make it clickable, or should assume that the ftp. is
 indicating the FTP protocol, not the HTTP protocol. A default assumption
 that ftp. indicates HTTP protocol just makes no sense.

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

More information about the wp-trac mailing list