Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2008 at 22:50 UTC
Updated:
8 Apr 2008 at 14:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
damien tournoud commentedThat bug was fixed by #173459: If <front> is added to menu, the link is never marked 'active' in DRUPAL-5, but was never ported to DRUPAL-6. Let's do not make that mistake again: bugs have to be fixed in HEAD, than back-ported.
Could you re-roll the same patch for HEAD?
Comment #2
hass commentedIt haven't been documented, but the bug in #173459 is fixed in D6. This bug is new and related to LI only not the link.
See "common.inc":
Attached patch is rolled for D7, above for D6.
Comment #3
damien tournoud commentedHum, ok. Thanks for the clarification.
The above patchs only do implement the solution of #173459 in
theme_links(), so marking this as ready to go in. Is there other parts of the core where this could be needed?Comment #4
hass commentedI cannot say for sure if there is more broken... i only know #173459 is fixed and struggled on trying to style an LI missing the 'active' class. THX for review.
Comment #5
gábor hojtsydamz: http://drupal.org/node/173459 you linked to (which adds an extra check into l()) is also fixed in Drupal 6, l() also includes that code there.
Committed to 6.x. Still needs to go to 7.x.
Comment #6
dries commentedCommitted to CVS HEAD. Thanks.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.