WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/25/2010 05:58:01 PM (9 years ago)
Author:
nacin
Message:

Tag textareas escaped earlier with textarea_escaped. see #15454.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r17120 r17141  
    13441344            $item .= $field[ $field['input'] ];
    13451345        elseif ( $field['input'] == 'textarea' ) {
    1346             if ( user_can_richedit() ) { // already escaped when user_can_richedit() = false
     1346            if ( user_can_richedit() ) { // textarea_escaped when user_can_richedit() = false
    13471347                $field['value'] = esc_textarea( $field['value'] );
    13481348            }
Note: See TracChangeset for help on using the changeset viewer.