[wp-trac] Re: [WordPress Trac] #9301: no classes on div-coment in Walker_Comment::start_el()

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 8 15:27:34 GMT 2009


#9301: no classes on div-coment in Walker_Comment::start_el()
--------------------------+-------------------------------------------------
 Reporter:  docwhat       |       Owner:  anonymous 
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------

Comment(by docwhat):

 Example Patch
 {{{
 diff --git a/wp-includes/comment-template.php b/wp-includes/comment-
 template.php
 index a4a126b..49cdfc1 100644
 --- a/wp-includes/comment-template.php
 +++ b/wp-includes/comment-template.php
 @@ -1221,3 +1221,3 @@ class Walker_Comment extends Walker {
                 <?php if ( 'ul' == $args['style'] ) : ?>
 -               <div id="div-comment-<?php comment_ID() ?>">
 +               <div id="div-comment-<?php comment_ID() ?>" class
 ="comment-body">
                 <?php endif; ?>
 }}}

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


More information about the wp-trac mailing list