WordPress.org

Make WordPress Core

Changeset 17192


Ignore:
Timestamp:
12/31/10 16:30:38 (3 years ago)
Author:
nacin
Message:

Defense in depth for comment text.

File:
1 edited

Legend:

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

    r16000 r17192  
    3737// Kses only for textarea admin displays 
    3838if ( is_admin() ) { 
    39     foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' ) as $filter ) { 
     39    foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description', 'comment_text' ) as $filter ) { 
    4040        add_filter( $filter, 'wp_kses_data' ); 
    4141    } 
Note: See TracChangeset for help on using the changeset viewer.