WordPress.org

Make WordPress Core

Ticket #10914: kses-mmsrtsp.diff

File kses-mmsrtsp.diff, 784 bytes (added by yoavf, 9 years ago)
  • kses.php

     
    355355 * @param array $allowed_protocols Optional. Allowed protocol in links.
    356356 * @return string Filtered content with only allowed HTML elements
    357357 */
    358 function wp_kses($string, $allowed_html, $allowed_protocols = array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet')) {
     358function wp_kses($string, $allowed_html, $allowed_protocols = array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp')) {
    359359        $string = wp_kses_no_null($string);
    360360        $string = wp_kses_js_entities($string);
    361361        $string = wp_kses_normalize_entities($string);