From ee2e45faabe7d9f0be1c2952eebdd46fa788c6c7 Mon Sep 17 00:00:00 2001 From: rboren Date: Fri, 29 Oct 2004 01:17:17 +0000 Subject: [PATCH] Save user profile. Bug 413. git-svn-id: http://svn.automattic.com/wordpress/trunk@1838 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/user-edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 3524e44541..cbcb9df3d9 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -58,9 +58,9 @@ $new_email = $_POST['new_email']; $new_url = $_POST['new_url']; $new_url = preg_match('/^(https?|ftps?|mailto|news|gopher):/is', $new_url) ? $new_url : 'http://' . $new_url; $new_idmode = $_POST['new_idmode']; -$new_description = $_POST['user_description']; +$new_description = $_POST['new_description']; -$result = $wpdb->query("UPDATE $wpdb->users SET user_login = '$new_user_login', user_firstname = '$new_firstname', $updatepassword user_lastname='$new_lastname', user_nickname='$new_nickname', user_icq='$new_icq', user_email='$new_email', user_url='$new_url', user_aim='$new_aim', user_msn='$new_msn', user_yim='$new_yim', user_idmode='$new_idmode', user_description = '$user_description', user_nicename = '$new_nicename' WHERE ID = $user_id"); +$result = $wpdb->query("UPDATE $wpdb->users SET user_login = '$new_user_login', user_firstname = '$new_firstname', $updatepassword user_lastname='$new_lastname', user_nickname='$new_nickname', user_icq='$new_icq', user_email='$new_email', user_url='$new_url', user_aim='$new_aim', user_msn='$new_msn', user_yim='$new_yim', user_idmode='$new_idmode', user_description = '$new_description', user_nicename = '$new_nicename' WHERE ID = $user_id"); header("Location: user-edit.php?user_id=$user_id&updated=true"); @@ -87,7 +87,7 @@ if ($edituser->user_level >= $user_level) die( __('You do not have permission to
  • - +