- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-includes/default-filters.php
r17406 r15378 32 32 } 33 33 34 // Kses only for textarea admindisplays35 foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' , 'comment_text') as $filter ) {34 // Kses only for textarea saves displays 35 foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' ) as $filter ) { 36 36 add_filter( $filter, 'wp_kses_data' ); 37 37 } … … 73 73 foreach ( array( 'pre_post_type' ) as $filter ) { 74 74 add_filter( $filter, 'sanitize_user' ); 75 }76 foreach ( array( 'pre_post_status', 'pre_post_comment_status', 'pre_post_ping_status' ) as $filter ) {77 add_filter( $filter, 'sanitize_key' );78 75 } 79 76
Note: See TracChangeset
for help on using the changeset viewer.