Commit ffa47a8d authored by Dries's avatar Dries
Browse files

- Patch #635378 by sun, sivaji, carlos8f: wrong local task titles for taxonomy...

- Patch #635378 by sun, sivaji, carlos8f: wrong local task titles for taxonomy term and user account pages.
parent 8ee21dd1
...@@ -248,9 +248,7 @@ function taxonomy_menu() { ...@@ -248,9 +248,7 @@ function taxonomy_menu() {
'type' => MENU_DEFAULT_LOCAL_TASK, 'type' => MENU_DEFAULT_LOCAL_TASK,
); );
$items['taxonomy/term/%taxonomy_term/edit'] = array( $items['taxonomy/term/%taxonomy_term/edit'] = array(
'title' => 'Edit term', 'title' => 'Edit',
'title callback' => 'taxonomy_term_title',
'title arguments' => array(2),
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('taxonomy_form_term', 2), 'page arguments' => array('taxonomy_form_term', 2),
'access callback' => 'taxonomy_term_edit_access', 'access callback' => 'taxonomy_term_edit_access',
......
...@@ -1562,8 +1562,6 @@ function user_menu() { ...@@ -1562,8 +1562,6 @@ function user_menu() {
$items['user/%user/edit'] = array( $items['user/%user/edit'] = array(
'title' => 'Edit', 'title' => 'Edit',
'title callback' => 'user_page_title',
'title arguments' => array(1),
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('user_profile_form', 1), 'page arguments' => array('user_profile_form', 1),
'access callback' => 'user_edit_access', 'access callback' => 'user_edit_access',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment