Apply filter to wp_get_current_commenter(). Fixes #14878

git-svn-id: https://develop.svn.wordpress.org/trunk@15623 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu 2010-09-16 20:48:18 +00:00
parent 6a582df334
commit d9039c38d7
1 changed files with 1 additions and 1 deletions

View File

@ -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'));
}
/**