Make WordPress Core


Ignore:
Timestamp:
01/08/2021 02:28:46 PM (3 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-theme.php

    r49220 r49946  
    12591259         *
    12601260         * @param string[]     $post_templates Array of template header names keyed by the template file name.
    1261          * @param WP_Theme     $this           The theme object.
     1261         * @param WP_Theme     $theme          The theme object.
    12621262         * @param WP_Post|null $post           The post being edited, provided for context, or null.
    12631263         * @param string       $post_type      Post type to get the templates for.
     
    12751275         *
    12761276         * @param string[]     $post_templates Array of template header names keyed by the template file name.
    1277          * @param WP_Theme     $this           The theme object.
     1277         * @param WP_Theme     $theme          The theme object.
    12781278         * @param WP_Post|null $post           The post being edited, provided for context, or null.
    12791279         * @param string       $post_type      Post type to get the templates for.
Note: See TracChangeset for help on using the changeset viewer.