[wp-trac] [WordPress Trac] #39042: REST API: Allow sanitization_callback to be set to null to bypass `rest_parse_request_arg()`

WordPress Trac noreply at wordpress.org
Sun Dec 4 19:12:21 UTC 2016


#39042: REST API: Allow sanitization_callback to be set to null to bypass
`rest_parse_request_arg()`
--------------------------------------+---------------------------
 Reporter:  rachelbaker               |       Owner:  kkoppenhaver
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.7.1
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------------

Comment (by rachelbaker):

 @joehoyle would like your eyes on [attachment:39042.2.diff], would love a
 better approach than the nested conditional.

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


More information about the wp-trac mailing list