[wp-trac] [WordPress Trac] #43691: class-wp-rest-server sends response body regardless of actual response code or result type

WordPress Trac noreply at wordpress.org
Thu Jun 20 13:17:39 UTC 2019


#43691: class-wp-rest-server sends response body regardless of actual response code
or result type
----------------------------+--------------------------------
 Reporter:  matthias.thiel  |       Owner:  TimothyBlynJacobs
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:  5.3
Component:  REST API        |     Version:  4.4
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  rest-api
----------------------------+--------------------------------
Changes (by andizer):

 * Attachment "43691-2.diff" added.

 Remove the 410, 451 types which actually can have a body.

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


More information about the wp-trac mailing list