From 5dcced2d13e718daab07a0cccbb48aaa952d7ebe Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Wed, 30 Sep 2015 04:13:25 +0000 Subject: [PATCH] Use array hash notation for `get_comment_link()` `$args`. See #34068, #34073. Built from https://develop.svn.wordpress.org/trunk@34716 git-svn-id: http://core.svn.wordpress.org/trunk@34680 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 9 ++++++++- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index abb87f656b..bad4a14ea4 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -667,7 +667,14 @@ function comment_ID() { * @global bool $in_comment_loop * * @param WP_Comment|int|null $comment Comment to retrieve. Default current comment. - * @param array $args Optional. An array of arguments to override the defaults. + * @param array $args { + * An array of optional arguments to override the defaults. + * + * @type string $type Passed to {@see get_page_of_comment()}. + * @type int $page Current page of comments, for calculating comment pagination. + * @type int $per_page Per-page value for comment pagination. + * @type int $max_depth Passed to {@see get_page_of_comment()}. + * } * @return string The permalink to the given comment. */ function get_comment_link( $comment = null, $args = array() ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 2d4e273252..657ae977d8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34715'; +$wp_version = '4.4-alpha-34716'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.