[wp-trac] [WordPress Trac] #43681: Incorrect HTTP status code in 'posts' query.

WordPress Trac noreply at wordpress.org
Tue Apr 3 07:07:06 UTC 2018


#43681: Incorrect HTTP status code in 'posts' query.
--------------------------+-----------------------------
 Reporter:  demitrimuna   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  REST API      |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+-----------------------------
Changes (by danieltj):

 * keywords:   => needs-patch
 * version:  4.9.4 => 4.4
 * type:  enhancement => defect (bug)
 * milestone:  Awaiting Review => Future Release


Comment:

 Converting to a bug considering the wrong HTTP status code is being
 returned here.

 From a quick glance it seems as if a few errors are defaulting to a 400
 error code.

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


More information about the wp-trac mailing list