Make WordPress Core

Ticket #42795: 42795.diff

File 42795.diff, 525 bytes (added by chetan200891, 8 years ago)

Created patch to add @return for WP_Comment_Query::get_comment_ids()

  • wp-includes/class-wp-comment-query.php

    diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php
    index 690298d..37c773c 100644
    a b class WP_Comment_Query { 
    472472         * @since 4.4.0
    473473         *
    474474         * @global wpdb $wpdb WordPress database abstraction object.
     475         *
     476         * @return int|array A single count of comment IDs if a count query. An array of comment IDs if a full query.
    475477         */
    476478        protected function get_comment_ids() {
    477479                global $wpdb;