Changes between Initial Version and Version 3 of Ticket #34893
- Timestamp:
- 12/07/2015 03:58:41 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34893
- Property Keywords has-patch needs-testing added; needs-patch removed
- Property Owner set to westonruter
-
Property
Status
changed from
new
toaccepted
-
Property
Milestone
changed from
Future Release
to4.5
-
Ticket #34893 – Description
initial v3 14 14 15 15 Since the `WP_Customize_Setting::sanitize()` already partially supports validation by returning `null`, we can build on that to also allow it to return a `WP_Error` object. We'd want to retain the regular fuzzy sanitization during preview updates, but during the `customize_save` action we'd want to impose a strict pass/fail for setting validation. 16 17 This is closely related and complimentary to #30937: Add Customizer transactions