[wp-trac] [WordPress Trac] #3361: `wp_list_bookmarks()` Should Be Widget Friendly

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 14 23:30:31 GMT 2006


#3361: `wp_list_bookmarks()` Should Be Widget Friendly
-------------------------+--------------------------------------------------
 Reporter:  bryanveloso  |       Owner:  anonymous
     Type:  defect       |      Status:  new      
 Priority:  high         |   Milestone:  2.1      
Component:  Template     |     Version:  2.1      
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 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.)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3361>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list