WordPress.org

Make WordPress Core

Changeset 30109


Ignore:
Timestamp:
10/30/2014 02:50:16 AM (4 years ago)
Author:
DrewAPicture
Message:

Update the changelog for get_approved_comments() to reflect that the function was refactored to leverage WP_Comment_Query in [30098].

Also updates the $args parameter description with a reference to see WP_Comment_Query for argument information.

See #12668.

File:
1 edited

Legend:

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

    r30105 r30109  
    129129 *
    130130 * @since 2.0.0
    131  *
    132  * @param  int   $post_id  The ID of the post.
    133  * @param  array $args     Optional. WP_Comment_Query args.
     131 * @since 4.1.0 Refactored to leverage {@see WP_Comment_Query} over a direct query.
     132 *
     133 * @param  int   $post_id The ID of the post.
     134 * @param  array $args    Optional. See {@see WP_Comment_Query} for information
     135 *                        on accepted arguments.
    134136 * @return array $comments The approved comments.
    135137 */
Note: See TracChangeset for help on using the changeset viewer.