Changeset 23416 for trunk/wp-includes/default-filters.php
- Timestamp:
- 02/14/2013 10:51:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-filters.php
r23414 r23416 15 15 // Strip, trim, kses, special chars for string saves 16 16 foreach ( array( 'pre_term_name', 'pre_comment_author_name', 'pre_link_name', 'pre_link_target', 'pre_link_rel', 'pre_user_display_name', 'pre_user_first_name', 'pre_user_last_name', 'pre_user_nickname' ) as $filter ) { 17 add_filter( $filter, 'sanitize_text_field' 18 add_filter( $filter, 'wp_ filter_kses');17 add_filter( $filter, 'sanitize_text_field' ); 18 add_filter( $filter, 'wp_kses_data' ); 19 19 add_filter( $filter, '_wp_specialchars', 30 ); 20 20 } … … 32 32 // Kses only for textarea saves 33 33 foreach ( array( 'pre_term_description', 'pre_link_description', 'pre_link_notes', 'pre_user_description' ) as $filter ) { 34 add_filter( $filter, 'wp_ filter_kses' );34 add_filter( $filter, 'wp_kses_data' ); 35 35 } 36 36 … … 47 47 add_filter( $filter, 'trim' ); 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
Note: See TracChangeset
for help on using the changeset viewer.