Make WordPress Core

Changeset 43611


Ignore:
Timestamp:
09/03/2018 08:51:01 PM (8 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.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/class-wp-customize-widgets.php

    r41868 r43611  
    19541954
    19551955                        /** This filter is documented in wp-includes/option.php */
    1956                         $value = apply_filters( 'option_' . $option_name, $value );
     1956                        $value = apply_filters( 'option_' . $option_name, $value, $option_name );
    19571957                }
    19581958
Note: See TracChangeset for help on using the changeset viewer.