=== modified file 'modules/user/user.module'
--- modules/user/user.module	2010-09-24 00:37:41 +0000
+++ modules/user/user.module	2010-10-02 06:29:40 +0000
@@ -1705,8 +1705,8 @@ function user_menu() {
 
   $items['user/%user/edit'] = array(
     'title' => 'Edit',
-    'page callback' => 'drupal_get_form',
-    'page arguments' => array('user_profile_form', 1),
+    'page callback' => 'user_edit_page'
+    'page arguments' => array(1),
     'access callback' => 'user_edit_access',
     'access arguments' => array(1),
     'type' => MENU_LOCAL_TASK,
@@ -1726,8 +1726,8 @@ function user_menu() {
         $items['user/%user_category/edit/' . $category['name']] = array(
           'title callback' => 'check_plain',
           'title arguments' => array($category['title']),
-          'page callback' => 'drupal_get_form',
-          'page arguments' => array('user_profile_form', 1, 3),
+          'page callback' => 'user_edit_page',
+          'page arguments' => array(1, 3),
           'access callback' => isset($category['access callback']) ? $category['access callback'] : 'user_edit_access',
           'access arguments' => isset($category['access arguments']) ? $category['access arguments'] : array(1),
           'type' => MENU_LOCAL_TASK,

=== modified file 'modules/user/user.pages.inc'
--- modules/user/user.pages.inc	2010-08-27 11:28:45 +0000
+++ modules/user/user.pages.inc	2010-10-02 06:29:08 +0000
@@ -231,6 +231,19 @@ function template_preprocess_user_profil
 }
 
 /**
+ * Form builder; Present the form to edit a given user or profile category.
+ *
+ * @ingroup forms
+ * @see user_edit_validate()
+ * @see user_edit_submit()
+ */
+function user_edit_page($account, $category = 'account') {
+  drupal_set_title(check_plain($account->name));
+  return drupal_get_form('user_profile_form', $account, $category);
+}
+
+
+/**
  * Form builder; edit a user account or one of their profile categories.
  *
  * @ingroup forms

