[wp-trac] [WordPress Trac] #38531: Support for arrays in schema validation and sanitization

WordPress Trac noreply at wordpress.org
Mon Nov 14 16:35:38 UTC 2016


#38531: Support for arrays in schema validation and sanitization
-------------------------+-----------------------
 Reporter:  joehoyle     |       Owner:  joehoyle
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.7
Component:  REST API     |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  2nd-opinion  |     Focuses:
-------------------------+-----------------------
Changes (by joehoyle):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39222"]:
 {{{
 #!CommitTicketReference repository="" revision="39222"
 REST API: Validate and Sanitize registered meta based off the schema.

 With the addition of Array support in our schema validation functions,
 it's now possible to use these in the meta validation and sanitization
 steps. Also, this increases the test coverage of using registered via meta
 the API significantly.

 Fixes #38531.
 Props rachelbaker, tharsheblows.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38531#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list