Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
menu system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2010 at 13:03 UTC
Updated:
4 Jan 2011 at 18:17 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedNice and simple patch.
Though is there an API function for converting - to _ for theme functions?
Comment #2
sunWe should use strtr() here, as that is much faster on short strings + small replacements.
Powered by Dreditor.
Comment #3
joachim commentedThanks for the review! :)
Here's another patch using that instead.
Comment #4
sunThanks!
Comment #5
dries commentedCommitted to CVS HEAD. Thanks.
Comment #7
markabur commentedPlease see followup issue with theme_menu_link(): #1001146: Cannot theme links in a menu when menu_name contains a hyphen.