From ffa47a8ddbaa8cf734e468bae1396cfe128ed2cd Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Wed, 16 Dec 2009 19:57:45 +0000
Subject: [PATCH] - Patch #635378 by sun, sivaji, carlos8f: wrong local task
 titles for taxonomy term and user account pages.

---
 modules/taxonomy/taxonomy.module | 4 +---
 modules/user/user.module         | 2 --
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index f17aa1b4e668..a96132c373c6 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -248,9 +248,7 @@ function taxonomy_menu() {
     'type' => MENU_DEFAULT_LOCAL_TASK,
   );
   $items['taxonomy/term/%taxonomy_term/edit'] = array(
-    'title' => 'Edit term',
-    'title callback' => 'taxonomy_term_title',
-    'title arguments' => array(2),
+    'title' => 'Edit',
     'page callback' => 'drupal_get_form',
     'page arguments' => array('taxonomy_form_term', 2),
     'access callback' => 'taxonomy_term_edit_access',
diff --git a/modules/user/user.module b/modules/user/user.module
index e0f510e932cd..464e7a818677 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1562,8 +1562,6 @@ function user_menu() {
 
   $items['user/%user/edit'] = array(
     'title' => 'Edit',
-    'title callback' => 'user_page_title',
-    'title arguments' => array(1),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('user_profile_form', 1),
     'access callback' => 'user_edit_access',
-- 
GitLab