Changeset 45591 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 07/03/2019 01:13:21 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r45590 r45591 2630 2630 $climits = apply_filters_ref_array( 'comment_feed_limits', array( 'LIMIT ' . get_option( 'posts_per_rss' ), &$this ) ); 2631 2631 } 2632 2632 2633 $cgroupby = ( ! empty( $cgroupby ) ) ? 'GROUP BY ' . $cgroupby : ''; 2633 2634 $corderby = ( ! empty( $corderby ) ) ? 'ORDER BY ' . $corderby : ''; 2635 $climits = ( ! empty( $climits ) ) ? $climits : ''; 2634 2636 2635 2637 $comments = (array) $wpdb->get_results( "SELECT $distinct {$wpdb->comments}.* FROM {$wpdb->comments} $cjoin $cwhere $cgroupby $corderby $climits" );
Note: See TracChangeset
for help on using the changeset viewer.