483 | | * 'irc', 'gopher', 'nntp', 'feed', and finally 'telnet. This covers all common |
484 | | * link protocols, except for 'javascript' which should not be allowed for |
485 | | * untrusted users. |
| 483 | * 'irc', 'gopher', 'nntp', 'feed', 'telnet, 'mms', 'rtsp' and 'svn'. This |
| 484 | * covers all common link protocols, except for 'javascript' which should not |
| 485 | * be allowed for untrusted users. |
494 | | function wp_kses($string, $allowed_html, $allowed_protocols = array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet')) { |
| 494 | function wp_kses($string, $allowed_html, $allowed_protocols = array ()) { |
| 495 | $allowed_protocols = wp_parse_args( $allowed_protocols, apply_filters('kses_allowed_protocols', array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn') )); |