[wp-trac] [WordPress Trac] #16681: The output from wp_list_bookmarks() fails to validate in Wordpress 3.1

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 26 21:53:34 UTC 2011


#16681: The output from wp_list_bookmarks() fails to validate in Wordpress 3.1
--------------------------+-------------------------
 Reporter:  robhogg       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Template      |     Version:  3.1
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |
--------------------------+-------------------------
Changes (by ocean90):

 * keywords:  has-patch =>
 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 You should use

 {{{
 <ol>
     <?php wp_list_bookmarks(); ?>
 </ol>
 }}}
 or
 {{{
 <ul>
     <?php wp_list_bookmarks(); ?>
 </ul>
 }}}

 It's the same as for wp_list_comments() and wp_list_categories(). See also
 the codex for examples.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16681#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list