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

WordPress Trac noreply at wordpress.org
Sat Jan 18 13:58:40 UTC 2014


#22946: Default filter erroneously turns FTP hostnames into HTTP links
-----------------------------+------------------------------
 Reporter:  DavidAnderson    |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Formatting       |     Version:  2.0.4
 Severity:  normal           |  Resolution:
 Keywords:  close has-patch  |
-----------------------------+------------------------------
Changes (by mdgl):

 * keywords:  close => close has-patch


Comment:

 Patch added to convert apparent URLs beginning "ftp." to hyperlinks using
 FTP rather than HTTP.

 In testing, I noticed that TinyMCE also converts such strings to
 hyperlinks automatically when you create or edit a post/page. For strings
 beginning "ftp.", TinyMCE creates a FTP hyperlink, the same as most
 browsers.

 With this patch, WordPress now behaves more consistently when displaying
 comments.

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


More information about the wp-trac mailing list