WordPress.org

Make WordPress Core

Changeset 16995


Ignore:
Timestamp:
12/16/2010 10:04:21 AM (10 years ago)
Author:
nacin
Message:

The user description field should be esc_textarea when context is edit. see #15454.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r16974 r16995  
    12121212
    12131213        if ( 'description' == $field )
    1214             $value = esc_html($value);
     1214            $value = esc_textarea( $value );
    12151215        else
    12161216            $value = esc_attr($value);
Note: See TracChangeset for help on using the changeset viewer.