[wp-trac] [WordPress Trac] #34893: Improve Customizer setting validation model
WordPress Trac
noreply at wordpress.org
Sat Jul 2 18:38:10 UTC 2016
#34893: Improve Customizer setting validation model
-------------------------------------------------+-------------------------
Reporter: westonruter | Owner:
Type: enhancement | westonruter
Priority: high | Status: closed
Component: Customize | Milestone: 4.6
Severity: normal | Version: 3.4
Keywords: has-patch has-screenshots has-unit- | Resolution: fixed
tests needs-dev-note commit | Focuses: javascript
-------------------------------------------------+-------------------------
Comment (by westonruter):
In [changeset:"37942"]:
{{{
#!CommitTicketReference repository="" revision="37942"
Customize: Reverse order of setting sanitization/validation, validating
prior to sanitizing.
Reverses order where sanitization was being applied before validation
originally in accordance with REST API logic.
Props westonruter, schlessera.
See #34893.
See #37192.
Fixes #37247.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34893#comment:66>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list