[wp-trac] [WordPress Trac] #38529: REST API controllers should not use the default sanitizers for polymorphic arguments

WordPress Trac noreply at wordpress.org
Wed Nov 2 04:14:14 UTC 2016


#38529: REST API controllers should not use the default sanitizers for polymorphic
arguments
-------------------------------------+-----------------------
 Reporter:  joehoyle                 |       Owner:  joehoyle
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.7
Component:  REST API                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------

Comment (by joehoyle):

 @rachelbaker it's pretty tricky to get a test in here, as we'd have to
 just manually check against the internal schema, I think given that it's
 explicitly set to `null` and documented I think it's ok though. Updated
 refresh patch with better docs.

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


More information about the wp-trac mailing list