[wp-trac] [WordPress Trac] #14697: wp_list_comments not fully HTML5-friendly

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 25 16:33:37 UTC 2010


#14697: wp_list_comments not fully HTML5-friendly
-------------------------+--------------------------------------------------
 Reporter:  adamrice     |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:  3.0.1          
 Severity:  minor        |    Keywords:  comment html5  
-------------------------+--------------------------------------------------
 Currently, wp_list_comments supports ol, ul, and div as "styles" of
 nesting for threaded comments. While HTML5 is new enough that good markup
 practices are not entirely settled, the closest thing I've seen to a
 consensus is nested article elements.

 This is currently not possible (except perhaps through a callback). Making
 it work right would also require inserting the comment classes as part of
 wp_list_comments' operation, which might require another parameter to turn
 it on.

 I'm sure there are other WP functions that could use expanding to
 accommodate good HTML5 markup, but this is what jumped out at me.

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


More information about the wp-trac mailing list