Fix the doc block syntax for the 'wp_get_current_commenter'
filter.
Props dimadin. Fixes #33304. git-svn-id: https://develop.svn.wordpress.org/trunk@33811 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
413df72474
commit
062aa80c1f
@ -1354,9 +1354,13 @@ function wp_get_current_commenter() {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param string $comment_author Comment author's name.
|
||||
* @param string $comment_author_email Comment author's email.
|
||||
* @param string $comment_author_url Comment author's URL.
|
||||
* @param array $comment_author_data {
|
||||
* An array of current commenter variables.
|
||||
*
|
||||
* @type string $comment_author The name of the author of the comment. Default empty.
|
||||
* @type string $comment_author_email The email address of the `$comment_author`. Default empty.
|
||||
* @type string $comment_author_url The URL address of the `$comment_author`. Default empty.
|
||||
* }
|
||||
*/
|
||||
return apply_filters( 'wp_get_current_commenter', compact('comment_author', 'comment_author_email', 'comment_author_url') );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user