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-network-query.php

    r49693 r49946  
    228228         *                                       the network count as an integer if `$this->query_vars['count']` is set,
    229229         *                                       or null to allow WP to run its normal queries.
    230          * @param WP_Network_Query $this         The WP_Network_Query instance, passed by reference.
     230         * @param WP_Network_Query $query        The WP_Network_Query instance, passed by reference.
    231231         */
    232232        $network_data = apply_filters_ref_array( 'networks_pre_query', array( $network_data, &$this ) );
     
    304304         *
    305305         * @param WP_Network[]     $_networks An array of WP_Network objects.
    306          * @param WP_Network_Query $this      Current instance of WP_Network_Query (passed by reference).
     306         * @param WP_Network_Query $query     Current instance of WP_Network_Query (passed by reference).
    307307         */
    308308        $_networks = apply_filters_ref_array( 'the_networks', array( $_networks, &$this ) );
     
    447447         *
    448448         * @param string[]         $pieces An associative array of network query clauses.
    449          * @param WP_Network_Query $this   Current instance of WP_Network_Query (passed by reference).
     449         * @param WP_Network_Query $query  Current instance of WP_Network_Query (passed by reference).
    450450         */
    451451        $clauses = apply_filters_ref_array( 'networks_clauses', array( compact( $pieces ), &$this ) );
Note: See TracChangeset for help on using the changeset viewer.