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

WordPress Trac noreply at wordpress.org
Wed Oct 4 08:26:46 UTC 2017


#38583: Support for objects in schema validation and sanitization
-------------------------------------------------+-------------------------
 Reporter:  rachelbaker                          |       Owner:  rmccue
     Type:  enhancement                          |      Status:  reviewing
 Priority:  high                                 |   Milestone:  4.9
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by joehoyle):

 In [changeset:"41727"]:
 {{{
 #!CommitTicketReference repository="" revision="41727"
 REST API: Support for objects in schema validation and sanitization.

 When registering routes developers can now define their complex objects in
 the schema and benefit from the automatic validation and sanitization in
 the REST API. This also paves the way for support for complex object
 registration via register_meta and register_setting.

 See #38583.
 Props TimothyBlynJacobs5.
 }}}

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


More information about the wp-trac mailing list