mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 18:16:08 +00:00
Don't specialchar user description on save. fixes #3069
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
abcbe47015
commit
1b88cb8ea2
@ -400,7 +400,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…
x
Reference in New Issue
Block a user