Ticket #22946: 22946.diff
File 22946.diff, 470 bytes (added by , 11 years ago) |
---|
-
wp-includes/formatting.php
1646 1646 function _make_web_ftp_clickable_cb($matches) { 1647 1647 $ret = ''; 1648 1648 $dest = $matches[2]; 1649 $dest = 'http://'. $dest;1649 $dest = ( $matches[3] == 'ftp' ? 'ftp://' : 'http://' ) . $dest; 1650 1650 $dest = esc_url($dest); 1651 1651 if ( empty($dest) ) 1652 1652 return $matches[0];