[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 17:18:48 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 rachelbaker):

 Would also be good to add unit tests to make sure we don't accidentally
 set the sanitize or validate callbacks.

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


More information about the wp-trac mailing list