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

WordPress Trac noreply at wordpress.org
Mon Oct 23 18:28:25 UTC 2017


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

Comment (by joehoyle):

 Also I think we could lighten the sanitizing for backwards compat for
 cases like https://core.trac.wordpress.org/ticket/38583#comment:20 so we
 don't sanitize the object if there's no `properties` list. The typical
 case for the REST API sanization right now is: is it's something not
 understood, pass it through, else sanitize it

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


More information about the wp-trac mailing list