WordPress.org

Make WordPress Core

Ticket #2726: irc-kses.diff

File irc-kses.diff, 734 bytes (added by skeltoac, 12 years ago)
  • kses.php

     
    3939                //      'ul' => array(),
    4040        );
    4141}
    42 function wp_kses($string, $allowed_html, $allowed_protocols = array ('http', 'https', 'ftp', 'news', 'nntp', 'telnet', 'feed', 'gopher', 'mailto'))
     42function wp_kses($string, $allowed_html, $allowed_protocols = array ('http', 'https', 'ftp', 'news', 'nntp', 'telnet', 'feed', 'gopher', 'mailto', 'irc'))
    4343        ###############################################################################
    4444                # This function makes sure that only the allowed HTML element names, attribute
    4545                # names and attribute values plus only sane HTML entities will occur in