[wp-trac] [WordPress Trac] #44770: Customize: `option_{$option}` filter applied with a missing parameter
WordPress Trac
noreply at wordpress.org
Thu Jan 3 18:55:05 UTC 2019
#44770: Customize: `option_{$option}` filter applied with a missing parameter
------------------------------------------+-----------------------------
Reporter: dlh | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0.3
Component: Customize | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch commit fixed-major | Focuses:
------------------------------------------+-----------------------------
Changes (by desrosj):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"44387" 44387]:
{{{
#!CommitTicketReference repository="" revision="44387"
Customize: Pass missing parameter to `dynamic option_{$option}` filter in
`WP_Customize_Widgets::capture_filter_pre_get_option()`.
This prevents a potential fatal error from an `ArgumentCountError`
exception in PHP 7.1 or greater
Props dlh.
Merges [43561] to the 5.0 branch.
Fixes #44770.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44770#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list