mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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']))
|
||||
|
||||
Reference in New Issue
Block a user