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

WordPress Trac noreply at wordpress.org
Thu Oct 27 15:22:16 UTC 2016


#38529: REST API controllers should not use the default sanitizers for polymorphic
arguments
--------------------------+-----------------
 Reporter:  joehoyle      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.7
Component:  REST API      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------
 See https://github.com/WP-API/WP-API/pull/2853 for more details,
 essentially we don't want to use the default jsonschema validation in the
 case of the polymorphic values such as "content", "title" and "excerpt".
 When we support validating objects, we don't want to use that option.

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


More information about the wp-trac mailing list