Make WordPress Core

Ticket #18603: 18603-partial.diff

File 18603-partial.diff, 444 bytes (added by ambrosiawt, 9 years ago)

Only a partial patch for discussion. Not for live use.

  • src/wp-includes/comment.php

    diff --git src/wp-includes/comment.php src/wp-includes/comment.php
    index 5de9531..d5e7ab3 100644
    function get_page_of_comment( $comment_ID, $args = array() ) { 
    900900                        'fields'     => 'ids',
    901901                        'count'      => true,
    902902                        'status'     => 'approve',
    903                         'parent'     => 0,
    904903                        'date_query' => array(
    905904                                array(
    906905                                        'column' => "$wpdb->comments.comment_date_gmt",