Fix depth inversion. see #7635

git-svn-id: https://develop.svn.wordpress.org/trunk@8941 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-09-19 21:45:01 +00:00
parent 770a94862a
commit ab4782d5aa
1 changed files with 1 additions and 1 deletions

View File

@ -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; ?>