[wp-trac] [WordPress Trac] #45812: WP_Customize_Setting sanitize_callback is given 2 parameters; PHP warning and validation fail
WordPress Trac
noreply at wordpress.org
Wed Jan 2 18:44:56 UTC 2019
#45812: WP_Customize_Setting sanitize_callback is given 2 parameters; PHP warning
and validation fail
--------------------------+------------------------------
Reporter: marclarr | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 5.0.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by marclarr):
To clarify the 2nd parameter passed to the sanitize_callback is an
instance of WP_Customize_Setting.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45812#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list