WordPress.org

Make WordPress Core

Ticket #31748: doc_block_fix.31748.diff

File doc_block_fix.31748.diff, 618 bytes (added by lamosty, 6 years ago)

Patch fixing DocBlock of get_comments()

  • src/wp-includes/comment.php

    diff --git src/wp-includes/comment.php src/wp-includes/comment.php
    index 88508fa..6fcb4a6 100644
    function get_comment(&$comment, $output = OBJECT) { 
    218218 *
    219219 * @since 2.7.0
    220220 *
    221  * @global wpdb $wpdb WordPress database abstraction object.
    222  *
    223221 * @param string|array $args Optional. Array or string of arguments. See {@see WP_Comment_Query::parse_query()}
    224222 *                           for information on accepted arguments. Default empty.
    225223 * @return int|array List of comments or number of found comments if `$count` argument is true.