Defense in depth for comment text.

git-svn-id: https://develop.svn.wordpress.org/trunk@17192 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-31 16:30:38 +00:00
parent 31285457f2
commit b627277146
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ 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' ) as $filter ) {
foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description', 'comment_text' ) as $filter ) {
add_filter( $filter, 'wp_kses_data' );
}
}