Make WordPress Core


Ignore:
Timestamp:
11/30/2006 01:50:48 AM (19 years ago)
Author:
ryan
Message:

Update allowed protocols. fixes #2726

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/kses.php

    r4533 r4550  
    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', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet'))
    4343    ###############################################################################
    4444        # This function makes sure that only the allowed HTML element names, attribute
Note: See TracChangeset for help on using the changeset viewer.