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:
parent
9abb5b2f3e
commit
eaa749e545
|
@ -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 echo $tag ?> <?php comment_class(empty( $args['has_children'] ) ? '' : 'parent') ?> id="comment-<?php comment_ID() ?>">
|
||||||
<?php if ( 'ul' == $args['style'] ) : ?>
|
<?php if ( 'ul' == $args['style'] ) : ?>
|
||||||
<div id="div-comment-<?php comment_ID() ?>">
|
<div id="div-comment-<?php comment_ID() ?>" class="comment-body">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div class="comment-author vcard">
|
<div class="comment-author vcard">
|
||||||
<?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?>
|
<?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?>
|
||||||
|
|
Loading…
Reference in New Issue