diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/class-wp-customize-setting.php --- a/wp/wp-includes/class-wp-customize-setting.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/class-wp-customize-setting.php Wed Sep 21 18:19:35 2022 +0200 @@ -513,7 +513,8 @@ * * @since 3.4.0 * - * @return void|false False if cap check fails or value isn't set or is invalid. + * @return void|false Void on success, false if cap check fails + * or value isn't set or is invalid. */ final public function save() { $value = $this->post_value(); @@ -605,7 +606,7 @@ * * @param WP_Error $validity Filtered from `true` to `WP_Error` when invalid. * @param mixed $value Value of the setting. - * @param WP_Customize_Setting $this WP_Customize_Setting instance. + * @param WP_Customize_Setting $setting WP_Customize_Setting instance. */ $validity = apply_filters( "customize_validate_{$this->id}", $validity, $value, $this ); @@ -761,7 +762,7 @@ * @since 4.6.0 Added the `$this` setting instance as the second parameter. * * @param mixed $default The setting default value. Default empty. - * @param WP_Customize_Setting $this The setting instance. + * @param WP_Customize_Setting $setting The setting instance. */ $value = apply_filters( "customize_value_{$id_base}", $value, $this ); } elseif ( $this->is_multidimensional_aggregated ) { @@ -794,8 +795,8 @@ * * @since 3.4.0 * - * @param mixed $value The setting value. - * @param WP_Customize_Setting $this WP_Customize_Setting instance. + * @param mixed $value The setting value. + * @param WP_Customize_Setting $setting WP_Customize_Setting instance. */ $value = apply_filters( "customize_sanitize_js_{$this->id}", $this->value(), $this );