WordPress.org

Make WordPress Core

Changeset 17400


Ignore:
Timestamp:
02/05/2011 06:33:29 PM (8 years ago)
Author:
ryan
Message:

Defense in depth for comment text. For 3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-includes/default-filters.php

    r15378 r17400  
    3232}
    3333
    34 // Kses only for textarea saves displays
    35 foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' ) as $filter ) {
     34// Kses only for textarea admin displays
     35foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description', 'comment_text' ) as $filter ) {
    3636    add_filter( $filter, 'wp_kses_data' );
    3737}
Note: See TracChangeset for help on using the changeset viewer.