mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
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:
parent
6a582df334
commit
d9039c38d7
@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user