From d9039c38d75b93340dbfd4e3109c5abb43be853f 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: https://develop.svn.wordpress.org/trunk@15623 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 99864ff46a..9e5e1ffd92 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')); } /**