From 107a7104bd1b472ee41079eb8e16440d74fb1ef5 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 30 Aug 2015 03:21:20 +0000 Subject: [PATCH] Fix the doc block syntax for the `'wp_get_current_commenter'` filter. Props dimadin. Fixes #33304. Built from https://develop.svn.wordpress.org/trunk@33811 git-svn-id: http://core.svn.wordpress.org/trunk@33779 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-functions.php | 10 +++++++--- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index 930d1897f7..11929b42d4 100644 --- a/wp-includes/comment-functions.php +++ b/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') ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 142a84e0c1..e0954f78e5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33810'; +$wp_version = '4.4-alpha-33811'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.