Make WordPress Core


Ignore:
Timestamp:
01/08/2021 02:28:46 PM (4 years ago)
Author:
johnbillion
Message:

Plugins: Replace usage of $this in action and filter parameter docblocks with more appropriate variable names.

See #51800, #52217

Fixes #52243

File:
1 edited

Legend:

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

    r49693 r49946  
    411411         *                                       the comment count as an integer if `$this->query_vars['count']` is set,
    412412         *                                       or null to allow WP to run its normal queries.
    413          * @param WP_Comment_Query $this         The WP_Comment_Query instance, passed by reference.
     413         * @param WP_Comment_Query $query        The WP_Comment_Query instance, passed by reference.
    414414         */
    415415        $comment_data = apply_filters_ref_array( 'comments_pre_query', array( $comment_data, &$this ) );
     
    495495         *
    496496         * @param WP_Comment[]     $_comments An array of comments.
    497          * @param WP_Comment_Query $this      Current instance of WP_Comment_Query (passed by reference).
     497         * @param WP_Comment_Query $query     Current instance of WP_Comment_Query (passed by reference).
    498498         */
    499499        $_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) );
     
    905905         *
    906906         * @param string[]         $pieces An associative array of comment query clauses.
    907          * @param WP_Comment_Query $this   Current instance of WP_Comment_Query (passed by reference).
     907         * @param WP_Comment_Query $query  Current instance of WP_Comment_Query (passed by reference).
    908908         */
    909909        $clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) );
Note: See TracChangeset for help on using the changeset viewer.