WordPress.org

Make WordPress Core

Ticket #3069: no_entity_encode_user_description.diff

File no_entity_encode_user_description.diff, 612 bytes (added by markjaquith, 15 years ago)

Patch for /trunk/

  • wp-admin/admin-functions.php

     
    460460        if (isset ($_POST['display_name']))
    461461                $user->display_name = wp_specialchars(trim($_POST['display_name']));
    462462        if (isset ($_POST['description']))
    463                 $user->description = wp_specialchars(trim($_POST['description']));
     463                $user->description = trim($_POST['description']);
    464464        if (isset ($_POST['jabber']))
    465465                $user->jabber = wp_specialchars(trim($_POST['jabber']));
    466466        if (isset ($_POST['aim']))