Make WordPress Core

Changeset 47032


Ignore:
Timestamp:
01/02/2020 07:20:33 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Synchronize "Default empty array" notes for $args parameter in get_comment_text() and comment_text().

Props denisco.
See #48303.

File:
1 edited

Legend:

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

    r47009 r47032  
    954954 * @param int|WP_Comment  $comment_ID WP_Comment or ID of the comment for which to get the text.
    955955 *                                    Default current comment.
    956  * @param array           $args       Optional. An array of arguments. Default empty.
     956 * @param array           $args       Optional. An array of arguments. Default empty array.
    957957 * @return string The comment content.
    958958 */
     
    984984 * @param int|WP_Comment  $comment_ID WP_Comment or ID of the comment for which to print the text.
    985985 *                                    Default current comment.
    986  * @param array           $args       Optional. An array of arguments. Default empty array. Default empty.
     986 * @param array           $args       Optional. An array of arguments. Default empty array.
    987987 */
    988988function comment_text( $comment_ID = 0, $args = array() ) {
     
    17331733 * @see get_comment_reply_link()
    17341734 *
    1735  * @param array          $args    Optional. Override default options.
     1735 * @param array          $args    Optional. Override default options. Default empty array.
    17361736 * @param int|WP_Comment $comment Comment being replied to. Default current comment.
    17371737 * @param int|WP_Post    $post    Post ID or WP_Post object the comment is going to be displayed on.
     
    18241824 * @see get_post_reply_link()
    18251825 *
    1826  * @param array       $args Optional. Override default options,
     1826 * @param array       $args Optional. Override default options. Default empty array.
    18271827 * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on.
    18281828 *                          Default current post.
Note: See TracChangeset for help on using the changeset viewer.