[wp-trac] [WordPress Trac] #38593: Make rest_parse_request_arg the default sanitize_callback for params

WordPress Trac noreply at wordpress.org
Tue Nov 1 01:06:52 UTC 2016


#38593: Make rest_parse_request_arg the default sanitize_callback for params
--------------------------+------------------
 Reporter:  joehoyle      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by joehoyle):

 @rmccue main reason for getting this is now, is I'd like to do a final
 audit of all the params, and having this would allow us to remove a lot of
 junk that's accumulated in the param registration that _mostly_ isn't
 needed now we have a lot of good schema validation stuff.

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


More information about the wp-trac mailing list