Make WordPress Core


Ignore:
Timestamp:
11/17/2010 05:12:01 PM (15 years ago)
Author:
markjaquith
Message:

esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r16210 r16431  
    341341<tr>
    342342    <th><label for="description"><?php _e('Biographical Info'); ?></label></th>
    343     <td><textarea name="description" id="description" rows="5" cols="30"><?php echo esc_html($profileuser->description); ?></textarea><br />
     343    <td><textarea name="description" id="description" rows="5" cols="30"><?php echo esc_textarea( $profileuser->description ); ?></textarea><br />
    344344    <span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></td>
    345345</tr>
Note: See TracChangeset for help on using the changeset viewer.