From d66d93ccabca6f7df3998848b7f804e5e5ded7f2 Mon Sep 17 00:00:00 2001 From: scribu Date: Thu, 16 Sep 2010 20:48:18 +0000 Subject: [PATCH] Apply filter to wp_get_current_commenter(). Fixes #14878 git-svn-id: http://svn.automattic.com/wordpress/trunk@15623 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 99864ff46..9e5e1ffd9 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -1135,7 +1135,7 @@ function wp_get_current_commenter() { if ( isset($_COOKIE['comment_author_url_'.COOKIEHASH]) ) $comment_author_url = $_COOKIE['comment_author_url_'.COOKIEHASH]; - return compact('comment_author', 'comment_author_email', 'comment_author_url'); + return apply_filters('wp_get_current_commenter', compact('comment_author', 'comment_author_email', 'comment_author_url')); } /**