Changeset 2151 for trunk/wp-includes/kses.php
- Timestamp:
- 01/26/2005 10:29:18 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/kses.php
r2116 r2151 46 46 } 47 47 function 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')) 50 49 ############################################################################### 51 50 # This function makes sure that only the allowed HTML element names, attribute … … 557 556 } # function wp_kses_decode_entities 558 557 559 function wp_filter_kses( $data) {558 function wp_filter_kses( $string ) { 560 559 global $allowedtags; 561 return wp_kses($ data, $allowedtags);560 return wp_kses($string, $allowedtags); 562 561 } 563 562
Note: See TracChangeset
for help on using the changeset viewer.