Changeset 61878 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 03/10/2026 09:56:40 AM (3 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r61727 r61878 3470 3470 3471 3471 if ( ! empty( $this->posts ) && $this->is_comment_feed && $this->is_singular ) { 3472 /** This filter is documented in wp-includes/ query.php */3472 /** This filter is documented in wp-includes/class-wp-query.php */ 3473 3473 $cjoin = apply_filters_ref_array( 'comment_feed_join', array( '', &$this ) ); 3474 3474 3475 /** This filter is documented in wp-includes/ query.php */3475 /** This filter is documented in wp-includes/class-wp-query.php */ 3476 3476 $cwhere = apply_filters_ref_array( 'comment_feed_where', array( "WHERE comment_post_ID = '{$this->posts[0]->ID}' AND comment_approved = '1'", &$this ) ); 3477 3477 3478 /** This filter is documented in wp-includes/ query.php */3478 /** This filter is documented in wp-includes/class-wp-query.php */ 3479 3479 $cgroupby = apply_filters_ref_array( 'comment_feed_groupby', array( '', &$this ) ); 3480 3480 $cgroupby = ( ! empty( $cgroupby ) ) ? 'GROUP BY ' . $cgroupby : ''; 3481 3481 3482 /** This filter is documented in wp-includes/ query.php */3482 /** This filter is documented in wp-includes/class-wp-query.php */ 3483 3483 $corderby = apply_filters_ref_array( 'comment_feed_orderby', array( 'comment_date_gmt DESC', &$this ) ); 3484 3484 $corderby = ( ! empty( $corderby ) ) ? 'ORDER BY ' . $corderby : ''; 3485 3485 3486 /** This filter is documented in wp-includes/ query.php */3486 /** This filter is documented in wp-includes/class-wp-query.php */ 3487 3487 $climits = apply_filters_ref_array( 'comment_feed_limits', array( 'LIMIT ' . get_option( 'posts_per_rss' ), &$this ) ); 3488 3488
Note: See TracChangeset
for help on using the changeset viewer.