`wp_list_bookmarks()` Should Be Widget Friendly
|Reported by:||bryanveloso||Owned by:||westi|
For the sake of widgets everywhere, this should be fixed. It has been a pain in the ass on WordPress.com. Whenever you call wp_list_bookmarks() it shows something like the following:
<li id="linkcat-1356" class="linkcat"> <h2 class="widgettitle">Blogroll</h2> <ul> [...] </ul> </li>
So, when we're working with widgets, it is the only one that doesn't listen to any of the calls given to it (before_widget, after_widget, etc.) So even if a theme author has <div>s instead of a #sidebar <ul>, this <li> will still appear and ruin the styling and semantics. I'm all for standardizing the way that sidebars are done, but an effort like that is pretty much impossible.
Everything should be widget friendly and flexible, this seems to be the only culprit.
(Hopefully all of that made some sort of sense.)