Fix depth inversion. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dfc1d78fa9
commit
b6050e5161
|
@ -943,7 +943,7 @@ class Walker_Comment extends Walker {
|
||||||
<?php echo apply_filters('comment_text', get_comment_text()) ?>
|
<?php echo apply_filters('comment_text', get_comment_text()) ?>
|
||||||
|
|
||||||
<div class='reply'>
|
<div class='reply'>
|
||||||
<?php echo comment_reply_link(array('add_below' => 'div-comment', 'depth' => $args['depth'], 'max_depth' => $depth)) ?>
|
<?php echo comment_reply_link(array('add_below' => 'div-comment', 'depth' => $depth, 'max_depth' => $args['depth'])) ?>
|
||||||
<?php if ( 'list' == $args['style'] ) : ?>
|
<?php if ( 'list' == $args['style'] ) : ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
Loading…
Reference in New Issue