Pass args from Walker to comment_reply_link(). Props Otto42. fixes #7901

git-svn-id: https://develop.svn.wordpress.org/trunk@9209 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-10-16 20:22:53 +00:00
parent e8546797c3
commit 44f07ae292
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,7 @@ class Walker_Comment extends Walker {
<?php echo apply_filters('comment_text', get_comment_text()) ?>
<div class="reply">
<?php echo comment_reply_link(array('add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['depth'])) ?>
<?php echo comment_reply_link(array_merge( $args, array('add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['depth']))) ?>
<?php if ( 'ul' == $args['style'] ) : ?>
</div>
<?php endif; ?>