Add comment-body class. Props docwhat. fixes #9301

git-svn-id: https://develop.svn.wordpress.org/trunk@10961 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-04-16 22:15:12 +00:00
parent 9abb5b2f3e
commit eaa749e545
1 changed files with 1 additions and 1 deletions

View File

@ -1231,7 +1231,7 @@ class Walker_Comment extends Walker {
?>
<<?php echo $tag ?> <?php comment_class(empty( $args['has_children'] ) ? '' : 'parent') ?> id="comment-<?php comment_ID() ?>">
<?php if ( 'ul' == $args['style'] ) : ?>
<div id="div-comment-<?php comment_ID() ?>">
<div id="div-comment-<?php comment_ID() ?>" class="comment-body">
<?php endif; ?>
<div class="comment-author vcard">
<?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?>