WordPress.org

Make WordPress Core

Changeset 37482


Ignore:
Timestamp:
05/22/2016 04:20:48 PM (3 years ago)
Author:
boonebgorges
Message:

Improve @return documentation for WP_Comment_Query::get_comments().

Props barryceelen.
Fixes #36896.

File:
1 edited

Legend:

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

    r37431 r37482  
    362362     * @global wpdb $wpdb WordPress database abstraction object.
    363363     *
    364      * @return int|array The list of comments.
     364     * @return int|array List of comments or number of found comments if `$count` argument is true.
    365365     */
    366366    public function get_comments() {
Note: See TracChangeset for help on using the changeset viewer.