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.
If theme_links is passed an empty array of links, it generates a UL block containing no LI elements. This is unnecessary HTML text and, it turns out, also a standard violation. Patch attached.
Comment | File | Size | Author |
---|---|---|---|
theme-patch.txt | 601 bytes | bjaspan |
Comments
Comment #1
tmckeown CreditAttribution: tmckeown commentedLooks alright to me. I can see where passing on empty array would be a problem and this type of validation is propably necessary.
Trevor
Comment #2
chx CreditAttribution: chx commentedComment #3
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks!
Comment #4
(not verified) CreditAttribution: commented