WordPress.org

Make WordPress Core

Changeset 34716


Ignore:
Timestamp:
09/30/2015 04:12:06 AM (4 years ago)
Author:
boonebgorges
Message:

Use array hash notation for get_comment_link() $args.

See #34068, #34073.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r34711 r34716  
    668668 *
    669669 * @param WP_Comment|int|null $comment Comment to retrieve. Default current comment.
    670  * @param array               $args    Optional. An array of arguments to override the defaults.
     670 * @param array               $args {
     671 *     An array of optional arguments to override the defaults.
     672 *
     673 *     @type string $type      Passed to {@see get_page_of_comment()}.
     674 *     @type int    $page      Current page of comments, for calculating comment pagination.
     675 *     @type int    $per_page  Per-page value for comment pagination.
     676 *     @type int    $max_depth Passed to {@see get_page_of_comment()}.
     677 * }
    671678 * @return string The permalink to the given comment.
    672679 */
Note: See TracChangeset for help on using the changeset viewer.