WordPress.org

Make WordPress Core

Ticket #44770: 44770.diff

File 44770.diff, 587 bytes (added by dlh, 9 months ago)
  • src/wp-includes/class-wp-customize-widgets.php

    diff --git src/wp-includes/class-wp-customize-widgets.php src/wp-includes/class-wp-customize-widgets.php
    index 31b6ee31ed..93c93efbbd 100644
    final class WP_Customize_Widgets { 
    19811981                        $value = $this->_captured_options[ $option_name ];
    19821982
    19831983                        /** This filter is documented in wp-includes/option.php */
    1984                         $value = apply_filters( 'option_' . $option_name, $value );
     1984                        $value = apply_filters( 'option_' . $option_name, $value, $option_name );
    19851985                }
    19861986
    19871987                return $value;