Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The attached patch moves the call to menu_get_menu()
into the if
-block as it is not needed if the active menu item is just retrieved and if it is cached.
Comment | File | Size | Author |
---|---|---|---|
menu.inc_6.patch | 575 bytes | kkaefer | |
Comments
Comment #1
JonBob CreditAttribution: JonBob commentedLooks fine.
Comment #2
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedapplied
Comment #3
(not verified) CreditAttribution: commented