Changeset 50576 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 03/25/2021 12:37:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r50565 r50576 2599 2599 if ( $this->is_comment_feed && ! $this->is_singular ) { 2600 2600 if ( $this->is_archive || $this->is_search ) { 2601 $cjoin = "JOIN {$wpdb->posts} ON ( {$wpdb->comments}.comment_post_ID = {$wpdb->posts}.ID) $join ";2601 $cjoin = "JOIN {$wpdb->posts} ON ( {$wpdb->comments}.comment_post_ID = {$wpdb->posts}.ID ) $join "; 2602 2602 $cwhere = "WHERE comment_approved = '1' $where"; 2603 2603 $cgroupby = "{$wpdb->comments}.comment_id";
Note: See TracChangeset
for help on using the changeset viewer.