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

WordPress Trac noreply at wordpress.org
Mon Oct 31 16:11:59 UTC 2016


#38531: Support for arrays in schema validation and sanitization
---------------------------------------------+---------------------
 Reporter:  joehoyle                         |       Owner:  pento
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.7
Component:  REST API                         |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+---------------------

Comment (by TimothyBlynJacobs):

 Doing it this way precludes the function from ever supporting things like
 `$ref` which would be immensely useful. Its not too difficult to add, but
 it would require the full schema to work off of.

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


More information about the wp-trac mailing list