Pass on variables to the wp_comment_reply filter. Props caesarsgrunt, see #7435

git-svn-id: https://develop.svn.wordpress.org/trunk@8764 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-08-28 22:03:38 +00:00
parent 832b0dd21a
commit c0ab8b59d7

View File

@ -1070,7 +1070,7 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single')
global $current_user;
// allow plugin to replace the popup content
$content = apply_filters( 'wp_comment_reply', '' );
$content = apply_filters( 'wp_comment_reply', '', array('position'=>$position, 'checkbox'=>$checkbox, 'mode'=>$mode) );
if ( ! empty($content) ) {
echo $content;