[wp-trac] [WordPress Trac] #7716: wp_list_categories adds a </p> tag

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 9 07:52:30 GMT 2008


#7716: wp_list_categories adds a </p> tag
---------------------+------------------------------------------------------
 Reporter:  mh79     |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:           
Component:  General  |     Version:           
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 when you create a categories list like this

 {{{
 wp_list_categories('title_li=&show_count=1');
 }}}

 and your first category has children you get a </p> tag
 behind the counter for this first category link
 and this gives a ugly blank line in your list

 this is a examle from our website


 {{{
 <li class="cat-item cat-item-80"><a href="http://www.klf.de/home/?cat=80"
 title="View all posts filed under Articles"
 class="liinternal">Articles</a> (33)</p>
 <ul class='children'>
 }}}

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


More information about the wp-trac mailing list