Make WordPress Core


Ignore:
Timestamp:
11/08/2014 08:35:00 PM (9 years ago)
Author:
DrewAPicture
Message:

Cross-reference WP_Comment_Query::query() as the location for finding information on default arguments for WP_Comment_Query.

Also updates the return types on get_comments() and get_approved_comments(), as an integer can also be returned if the $count argument is true.

Fixes #30111.

File:
1 edited

Legend:

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

    r29961 r30281  
    850850         * @since 3.4.0
    851851         *
    852          * @see get_comments()
     852         * @see WP_Comment_Query::query() for information on accepted arguments.
    853853         *
    854854         * @param array $comment_args An array of arguments used to retrieve the recent comments.
Note: See TracChangeset for help on using the changeset viewer.