[wp-trac] [WordPress Trac] #36452: customize_value should be passed $this
WordPress Trac
noreply at wordpress.org
Mon May 2 22:41:39 UTC 2016
#36452: customize_value should be passed $this
------------------------------+--------------------------
Reporter: nwp_developer | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Customize | Version: 4.4.2
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Changes (by westonruter):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"37350"]:
{{{
#!CommitTicketReference repository="" revision="37350"
Customize: Pass `WP_Customize_Setting` instance as second argument to
`customize_value_{$id_base}` filter.
Adds parity with setting instance being passed as second argument to
`customize_sanitize_{$id}` and `customize_sanitize_js_{$id}`. Allows the
actual ID of the (multidimensional) setting value being filtered to be
inspected.
Props celloexpressions, westonruter.
Fixes #36452.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36452#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list