Make WordPress Core


Ignore:
Timestamp:
01/26/2005 10:29:18 PM (20 years ago)
Author:
saxmatt
Message:

More filters and KSES cleanup.

File:
1 edited

Legend:

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

    r2116 r2151  
    4646}
    4747function wp_kses($string, $allowed_html, $allowed_protocols =
    48                array('http', 'https', 'ftp', 'news', 'nntp', 'telnet',
    49                      'gopher', 'mailto'))
     48               array('http', 'https', 'ftp', 'news', 'nntp', 'feed', 'gopher', 'mailto'))
    5049###############################################################################
    5150# This function makes sure that only the allowed HTML element names, attribute
     
    557556} # function wp_kses_decode_entities
    558557
    559 function wp_filter_kses($data) {
     558function wp_filter_kses( $string ) {
    560559    global $allowedtags;
    561     return wp_kses($data, $allowedtags);
     560    return wp_kses($string, $allowedtags);
    562561}
    563562
Note: See TracChangeset for help on using the changeset viewer.