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
This commit is contained in:
Scott Taylor 2015-08-30 03:21:20 +00:00
parent db11b48627
commit 107a7104bd
2 changed files with 8 additions and 4 deletions

View File

@ -1354,9 +1354,13 @@ function wp_get_current_commenter() {
* *
* @since 3.1.0 * @since 3.1.0
* *
* @param string $comment_author Comment author's name. * @param array $comment_author_data {
* @param string $comment_author_email Comment author's email. * An array of current commenter variables.
* @param string $comment_author_url Comment author's URL. *
* @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') ); return apply_filters( 'wp_get_current_commenter', compact('comment_author', 'comment_author_email', 'comment_author_url') );
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.