Make WordPress Core


Ignore:
Timestamp:
07/30/2021 07:34:39 PM (4 years 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-customize-section.php

    r47386 r51518  
    299299         * @since 3.4.0
    300300         *
    301          * @param WP_Customize_Section $this WP_Customize_Section instance.
     301         * @param WP_Customize_Section $section WP_Customize_Section instance.
    302302         */
    303303        do_action( 'customize_render_section', $this );
Note: See TracChangeset for help on using the changeset viewer.