[wp-trac] [WordPress Trac] #37010: Remove early exits from `WP_Customize_Setting::validate()` on `WP_Error` or `null`
WordPress Trac
noreply at wordpress.org
Fri Jul 1 16:42:56 UTC 2016
#37010: Remove early exits from `WP_Customize_Setting::validate()` on `WP_Error` or
`null`
-------------------------+------------------------------
Reporter: dlh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by westonruter):
This is closely related to #37247: namely once that lands, it will be
basically not be possible (in core) for a `WP_Error` to be passed into the
`validate` callback since the `sanitize` callback will be called ''after''
the `validate` callback. @dlh with that landed, is this ticket still
relevant?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37010#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list