[wp-hackers] Rewriting Comments for html5 validity

Matthew Simo matthew.a.simo at gmail.com
Mon Feb 1 18:35:56 UTC 2010

Thanks for the replies,

@ sribu - I wanted to avoid writing a whole new class My_Comment_Walker, but
the more I look into it seems that is route that needs taking, it's a shame
too, I only needed to add 4 lines of code. Thanks!

@ Mike - You are absolutely right, I added the end-callback to take care of
that trailing </li>, thanks!  It seems wp_list_comments(); doesn't give any
control over the start_lvl and end_lvl, so I'm still out of luck there.

On Mon, Feb 1, 2010 at 12:29 PM, scribu <scribu at gmail.com> wrote:

> I mean of course:
> class My_Comment_Walker extends Walker_Comment {
> --
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list