diff --git a/includes/menu.inc b/includes/menu.inc
index 0aab82524afa0723f66a8d841dc39b845b7c2ecd..e9e738f449a4f4870d53299f97f5384266c3d6f6 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -1262,7 +1262,7 @@ function menu_local_tasks($level = 0, $return_root = FALSE) {
           if ($item['type'] == MENU_DEFAULT_LOCAL_TASK) {
             // Find the first parent which is not a default local task.
             for ($p = $item['tab_parent']; $tasks[$p]['type'] == MENU_DEFAULT_LOCAL_TASK; $p = $tasks[$p]['tab_parent']);
-            $link = theme('menu_item_link', array('title' => $item['title'], 'href' => $tasks[$p]['href']));
+            $link = theme('menu_item_link', array('href' => $tasks[$p]['href']) + $item);
             $tabs_current .= theme('menu_local_task', $link, TRUE);
             $next_path = $item['path'];
           }
@@ -1294,7 +1294,7 @@ function menu_local_tasks($level = 0, $return_root = FALSE) {
           if ($item['type'] == MENU_DEFAULT_LOCAL_TASK) {
             // Find the first parent which is not a default local task.
             for ($p = $item['tab_parent']; $tasks[$p]['type'] == MENU_DEFAULT_LOCAL_TASK; $p = $tasks[$p]['tab_parent']);
-            $link = theme('menu_item_link', array('title' => $item['title'], 'href' => $tasks[$p]['href']));
+            $link = theme('menu_item_link', array('href' => $tasks[$p]['href']) + $item);
             if ($item['path'] == $router_item['path']) {
               $root_path = $tasks[$p]['path'];
             }