[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 00:51:50 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 rmccue):

 Seems fine to me, so long as it's clearly documented that this is the
 case, and that `sanitize_callback` can be overridden.

 This should potentially be pushed to 4.8 instead though, as it's really an
 enhancement and we're in beta.

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


More information about the wp-trac mailing list