Skip to content

Commit 64785dc

Browse files
committed
docs(hooks): update comment_feed_* xrefs to class file
Update 5 cross-references for comment_feed_join, comment_feed_where, comment_feed_groupby, comment_feed_orderby, and comment_feed_limits from `query.php` to `class-wp-query.php`. Related to https://core.trac.wordpress.org/ticket/64224
1 parent 69edbe2 commit 64785dc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/wp-includes/class-wp-query.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3469,21 +3469,21 @@ public function get_posts() {
34693469
}
34703470

34713471
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 */
34733473
$cjoin = apply_filters_ref_array( 'comment_feed_join', array( '', &$this ) );
34743474

3475-
/** This filter is documented in wp-includes/query.php */
3475+
/** This filter is documented in wp-includes/class-wp-query.php */
34763476
$cwhere = apply_filters_ref_array( 'comment_feed_where', array( "WHERE comment_post_ID = '{$this->posts[0]->ID}' AND comment_approved = '1'", &$this ) );
34773477

3478-
/** This filter is documented in wp-includes/query.php */
3478+
/** This filter is documented in wp-includes/class-wp-query.php */
34793479
$cgroupby = apply_filters_ref_array( 'comment_feed_groupby', array( '', &$this ) );
34803480
$cgroupby = ( ! empty( $cgroupby ) ) ? 'GROUP BY ' . $cgroupby : '';
34813481

3482-
/** This filter is documented in wp-includes/query.php */
3482+
/** This filter is documented in wp-includes/class-wp-query.php */
34833483
$corderby = apply_filters_ref_array( 'comment_feed_orderby', array( 'comment_date_gmt DESC', &$this ) );
34843484
$corderby = ( ! empty( $corderby ) ) ? 'ORDER BY ' . $corderby : '';
34853485

3486-
/** This filter is documented in wp-includes/query.php */
3486+
/** This filter is documented in wp-includes/class-wp-query.php */
34873487
$climits = apply_filters_ref_array( 'comment_feed_limits', array( 'LIMIT ' . get_option( 'posts_per_rss' ), &$this ) );
34883488

34893489
$comments_request = "SELECT {$wpdb->comments}.comment_ID FROM {$wpdb->comments} $cjoin $cwhere $cgroupby $corderby $climits";

0 commit comments

Comments
 (0)