[wp-trac] [WordPress Trac] #38617: Remove unneeded validation callbacks now we have a default

WordPress Trac noreply at wordpress.org
Wed Nov 2 06:55:15 UTC 2016


#38617: Remove unneeded validation callbacks now we have a default
-------------------------+-----------------
 Reporter:  joehoyle     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  4.7
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------
 This is a cleanup of all the params to remove the use of
 `rest_validate_request_arg` where it's not needed, also some places were
 doing a custom sanitize callback on enums, which is not needed now either.

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


More information about the wp-trac mailing list