[wp-trac] [WordPress Trac] #37247: Sanitization needs to come after validation in WP_Customize_Manager
WordPress Trac
noreply at wordpress.org
Sat Jul 2 23:02:47 UTC 2016
#37247: Sanitization needs to come after validation in WP_Customize_Manager
--------------------------------------+--------------------------
Reporter: schlessera | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Customize | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Comment (by rachelbaker):
In [changeset:"37943"]:
{{{
#!CommitTicketReference repository="" revision="37943"
REST API: Reverse order of setting sanitization/validation, validating
prior to sanitizing.
Fixes mistake in the current behavior, where the sanitization callback ran
before the validation callback. Now the validation callback will run
before the sanitization.
Props schlessera, rachelbaker.
See #37247.
Fixes #37192.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37247#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list