Make WordPress Core


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

    r49935 r49946  
    607607         * @param WP_Error             $validity Filtered from `true` to `WP_Error` when invalid.
    608608         * @param mixed                $value    Value of the setting.
    609          * @param WP_Customize_Setting $this     WP_Customize_Setting instance.
     609         * @param WP_Customize_Setting $setting  WP_Customize_Setting instance.
    610610         */
    611611        $validity = apply_filters( "customize_validate_{$this->id}", $validity, $value, $this );
     
    763763             *
    764764             * @param mixed                $default The setting default value. Default empty.
    765              * @param WP_Customize_Setting $this    The setting instance.
     765             * @param WP_Customize_Setting $setting The setting instance.
    766766             */
    767767            $value = apply_filters( "customize_value_{$id_base}", $value, $this );
     
    796796         * @since 3.4.0
    797797         *
    798          * @param mixed                $value The setting value.
    799          * @param WP_Customize_Setting $this WP_Customize_Setting instance.
     798         * @param mixed                $value   The setting value.
     799         * @param WP_Customize_Setting $setting WP_Customize_Setting instance.
    800800         */
    801801        $value = apply_filters( "customize_sanitize_js_{$this->id}", $this->value(), $this );
Note: See TracChangeset for help on using the changeset viewer.