Ticket #10914: kses-mmsrtsp.diff
File kses-mmsrtsp.diff, 784 bytes (added by , 15 years ago) |
---|
-
kses.php
355 355 * @param array $allowed_protocols Optional. Allowed protocol in links. 356 356 * @return string Filtered content with only allowed HTML elements 357 357 */ 358 function wp_kses($string, $allowed_html, $allowed_protocols = array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet' )) {358 function wp_kses($string, $allowed_html, $allowed_protocols = array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp')) { 359 359 $string = wp_kses_no_null($string); 360 360 $string = wp_kses_js_entities($string); 361 361 $string = wp_kses_normalize_entities($string);