Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
menu.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2010 at 10:54 UTC
Updated:
4 Nov 2010 at 12:37 UTC
Jump to comment: Most recent

Comments
Comment #1
jonathan webb commentedIf you create a menu-item as a MENU_LOCAL_ACTION clicking on the menu-item does not change the title (though the breadcrumb does change). This is because MENU_LOCAL_ACTION has bitwise inclusion of MENU_IS_LOCAL_TASK and items flagged as MENU_IS_LOCAL_TASK are excluded from menu_get_active_title().
A quickfix would be to alter the boolean expression in menu_get_active_title(), but I think the bigger problem is that MENU_LOCAL_ACTION includes MENU_IS_LOCAL_TASK, and the reliance on menu_local_tasks() to build the actions menu.