Ticket #27442: 27442.patch
File 27442.patch, 587 bytes (added by , 11 years ago) |
---|
-
trunk/src/wp-includes/comment.php
394 394 $clauses = $this->meta_query->get_sql( 'comment', $wpdb->comments, 'comment_ID', $this ); 395 395 $join .= $clauses['join']; 396 396 $where .= $clauses['where']; 397 $groupby = "{$wpdb->comments}.comment_ID"; 397 if ( ! $count ) { 398 $groupby = "{$wpdb->comments}.comment_ID"; 399 } 398 400 } 399 401 400 402 if ( ! empty( $date_query ) && is_array( $date_query ) ) {