Ticket #23369: 23369.patch
File 23369.patch, 556 bytes (added by , 12 years ago) |
---|
-
wp-includes/comment.php
367 367 $clauses = $this->meta_query->get_sql( 'comment', $wpdb->comments, 'comment_ID', $this ); 368 368 $join .= $clauses['join']; 369 369 $where .= $clauses['where']; 370 $groupby = "{$wpdb->comments}.comment_ID"; 370 if ( !$count ) { 371 $groupby = "{$wpdb->comments}.comment_ID"; 372 } 371 373 } 372 374 373 375 if ( ! empty( $date_query ) && is_array( $date_query ) ) {