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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-04-16 22:15:12 +00:00
parent 178a1fdda0
commit 58aec06ad9
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'] ); ?>