[wp-trac] [WordPress Trac] #39933: WP_REST_Request::get_param() doesn't work for getting body params on DELETE requests

WordPress Trac noreply at wordpress.org
Thu Feb 23 17:29:51 UTC 2017


#39933: WP_REST_Request::get_param() doesn't work for getting body params on DELETE
requests
---------------------------------------------+-----------------------
 Reporter:  mnelson4                         |       Owner:  jnylen0
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  normal                           |   Milestone:  4.7.3
Component:  REST API                         |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by jnylen0):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests commit


Comment:

 [attachment:39933.5.diff] looks good and tests out well for me.  I merged
 the previous patch files into one (easier to deal with this way), did a
 bit more cleanup, and skipped the PHPDoc on the data provider method as I
 don't think it's necessary.

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


More information about the wp-trac mailing list