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 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 commentedComment #3
dries commentedCommitted to CVS HEAD. Thanks!
Comment #4
(not verified) commented