Apply filter to wp_get_current_commenter(). Fixes #14878
git-svn-id: http://svn.automattic.com/wordpress/trunk@15623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
93d4b0c223
commit
d66d93ccab
|
@ -1135,7 +1135,7 @@ function wp_get_current_commenter() {
|
||||||
if ( isset($_COOKIE['comment_author_url_'.COOKIEHASH]) )
|
if ( isset($_COOKIE['comment_author_url_'.COOKIEHASH]) )
|
||||||
$comment_author_url = $_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…
Reference in New Issue