WordPress.org

Make WordPress Core

Changeset 4230


Ignore:
Timestamp:
09/25/2006 02:10:50 AM (15 years ago)
Author:
ryan
Message:

Don't specialchar user description on save. fixes #3069

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/admin-functions.php

    r4229 r4230  
    401401        $user->display_name = wp_specialchars(trim($_POST['display_name']));
    402402    if (isset ($_POST['description']))
    403         $user->description = wp_specialchars(trim($_POST['description']));
     403        $user->description = trim($_POST['description']);
    404404    if (isset ($_POST['jabber']))
    405405        $user->jabber = wp_specialchars(trim($_POST['jabber']));
Note: See TracChangeset for help on using the changeset viewer.