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

git-svn-id: https://develop.svn.wordpress.org/trunk@4118 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-08-25 17:47:19 +00:00
parent de56075801
commit 52b7812018

View File

@ -460,7 +460,7 @@ function edit_user($user_id = 0) {
if (isset ($_POST['display_name']))
$user->display_name = wp_specialchars(trim($_POST['display_name']));
if (isset ($_POST['description']))
$user->description = wp_specialchars(trim($_POST['description']));
$user->description = trim($_POST['description']);
if (isset ($_POST['jabber']))
$user->jabber = wp_specialchars(trim($_POST['jabber']));
if (isset ($_POST['aim']))