Make WordPress Core


Ignore:
Timestamp:
06/19/2020 10:53:54 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Remove unnecessary variables names from @return tags.

See #49572.

File:
1 edited

Legend:

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

    r48067 r48100  
    157157 * @param  int   $post_id The ID of the post.
    158158 * @param  array $args    Optional. See WP_Comment_Query::__construct() for information on accepted arguments.
    159  * @return int|array $comments The approved comments, or number of comments if `$count`
    160  *                             argument is true.
     159 * @return int|array The approved comments, or number of comments if `$count`
     160 *                   argument is true.
    161161 */
    162162function get_approved_comments( $post_id, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.