From c0ab8b59d7b07d858c60d261d72cbd4039c50df0 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 28 Aug 2008 22:03:38 +0000 Subject: [PATCH] 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 --- wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 2a947575f0..0f953e355f 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -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;