[wp-trac] [WordPress Trac] #37247: Sanitization needs to come after validation in WP_Customize_Manager
WordPress Trac
noreply at wordpress.org
Sat Jul 2 18:38:11 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:
--------------------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
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/37247#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list