[wp-trac] [WordPress Trac] #48821: Add additional array validation keywords to rest_validate_value_from_schema
WordPress Trac
noreply at wordpress.org
Mon Apr 20 06:56:26 UTC 2020
#48821: Add additional array validation keywords to rest_validate_value_from_schema
-------------------------------+---------------------
Reporter: TimothyBlynJacobs | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.5
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
-------------------------------+---------------------
Changes (by sorenbronsted):
* keywords: => dev-feedback
Comment:
In connection with working with these validations, the method
rest_validate_value_from_schema is getting rather long. I would like to
propose that the validation is refactored into smaller functions, all
called from rest_validate_value_from_schema. Any objections?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48821#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list