Don't specialchar user description on save. fixes #3069
git-svn-id: http://svn.automattic.com/wordpress/trunk@4118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ae61439266
commit
39e27240a8
|
@ -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']))
|
||||
|
|
Loading…
Reference in New Issue