WordPress.org

Make WordPress Core

Changeset 4118


Ignore:
Timestamp:
08/25/2006 05:47:19 PM (15 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r4112 r4118  
    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']));
Note: See TracChangeset for help on using the changeset viewer.