diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index af056a9e61..dc85c7ad69 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -36,9 +36,10 @@ foreach ( array( 'pre_term_description', 'pre_link_description', 'pre_link_notes // Kses only for textarea admin displays if ( is_admin() ) { - foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description', 'comment_text' ) as $filter ) { + foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' ) as $filter ) { add_filter( $filter, 'wp_kses_data' ); } + add_filter( 'comment_text', 'wp_kses_post' ); } // Email saves