Make WordPress Core


Ignore:
Timestamp:
03/10/2026 09:56:40 AM (3 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct duplicate hook references in various files.

This commit adjusts cross-reference comments where the hook was moved to a different file but the cross-reference was not updated.

Props apermo, mukesh27.
See #64224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-query.php

    r61727 r61878  
    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
Note: See TracChangeset for help on using the changeset viewer.