Changeset 18826 for trunk/wp-includes/kses.php
- Timestamp:
- 09/29/2011 10:33:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/kses.php
r18208 r18826 501 501 */ 502 502 function wp_kses($string, $allowed_html, $allowed_protocols = array ()) { 503 $allowed_protocols = wp_parse_args( $allowed_protocols, apply_filters('kses_allowed_protocols', array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn') ));503 $allowed_protocols = wp_parse_args( $allowed_protocols, wp_allowed_protocols() ); 504 504 $string = wp_kses_no_null($string); 505 505 $string = wp_kses_js_entities($string);
Note: See TracChangeset
for help on using the changeset viewer.