Changeset 12126
- Timestamp:
- 10/29/2009 05:32:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-filters.php
r12125 r12126 23 23 foreach ( array( 'term_name', 'comment_author_name', 'link_name', 'link_target', 'link_rel', 'user_display_name', 'user_first_name', 'user_last_name', 'user_nickname' ) as $filter ) { 24 24 add_filter( $filter, 'sanitize_text_field' ); 25 add_filter( $filter, 'wp_ filter_kses' );25 add_filter( $filter, 'wp_kses_data' ); 26 26 add_filter( $filter, '_wp_specialchars', 30 ); 27 27 } … … 47 47 foreach ( array( 'comment_author_email', 'user_email' ) as $filter ) { 48 48 add_filter( $filter, 'sanitize_email' ); 49 add_filter( $filter, 'wp_ filter_kses' );49 add_filter( $filter, 'wp_kses_data' ); 50 50 } 51 51 … … 62 62 add_filter( $filter, 'wp_strip_all_tags' ); 63 63 add_filter( $filter, 'esc_url' ); 64 add_filter( $filter, 'wp_ filter_kses' );64 add_filter( $filter, 'wp_kses_data' ); 65 65 } 66 66
Note: See TracChangeset
for help on using the changeset viewer.