WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/30/2021 07:34:39 PM (6 months ago)
Author:
johnbillion
Message:

Docs: Replace $this in hook param docs with more appropriate names.

$this is a pseudo-variable that cannot be used as the name of a function parameter, so renaming these helps prevent errors when implementing hook callback functions.

Fixes #53457

File:
1 edited

Legend:

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

    r50576 r51518  
    826826         * @param array         $clause       First-order query clause.
    827827         * @param array         $parent_query Parent of $clause.
    828          * @param WP_Meta_Query $this         WP_Meta_Query object.
     828         * @param WP_Meta_Query $query        WP_Meta_Query object.
    829829         */
    830830        return apply_filters( 'meta_query_find_compatible_table_alias', $alias, $clause, $parent_query, $this );
Note: See TracChangeset for help on using the changeset viewer.