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
This commit is contained in:
Boone Gorges 2015-09-30 04:13:25 +00:00
parent 85eafd7632
commit 5dcced2d13
2 changed files with 9 additions and 2 deletions

View File

@ -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() ) {

View File

@ -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.