From 062aa80c1f17e36e478ea8a1dec34d105635154e Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 30 Aug 2015 03:20:24 +0000 Subject: [PATCH] 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 --- src/wp-includes/comment-functions.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/comment-functions.php b/src/wp-includes/comment-functions.php index 930d1897f7..11929b42d4 100644 --- a/src/wp-includes/comment-functions.php +++ b/src/wp-includes/comment-functions.php @@ -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') ); }