Make WordPress Core

Changeset 43561 for trunk


Ignore:
Timestamp:
08/11/2018 12:44:22 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Customize: Pass missing parameter to dynamic option_{$option} filter in WP_Customize_Widgets::capture_filter_pre_get_option().

Props dlh.
Fixes #44770.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r42875 r43561  
    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
Note: See TracChangeset for help on using the changeset viewer.