[wp-trac] [WordPress Trac] #6306: Having only one comment results in invalid dashboard HTML

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 20 05:10:56 GMT 2008


#6306: Having only one comment results in invalid dashboard HTML
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  lowest          |   Milestone:  2.5      
Component:  Administration  |     Version:  2.5      
 Severity:  minor           |    Keywords:           
----------------------------+-----------------------------------------------
 If you only have the one default comment, it results in an empty `<ul>` in
 the recent comments list.

 A solution is to conditionally output that `<ul>` or if we're lazy, just
 do `<li style="display:none"></li>` immediately after it.

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


More information about the wp-trac mailing list