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:
parent
31285457f2
commit
b627277146
@ -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' );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user