[wp-trac] [WordPress Trac] #53056: REST API json_encode error returns 500 data->status in body(Correct) but 200 in actual status(Incorrect).

WordPress Trac noreply at wordpress.org
Tue Jun 15 05:44:55 UTC 2021


#53056: REST API json_encode error returns 500 data->status in body(Correct) but
200 in actual status(Incorrect).
-------------------------------------------------+-------------------------
 Reporter:  lalitjalandhar                       |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.9
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:  rest-api
  tests dev-feedback                             |
-------------------------------------------------+-------------------------
Changes (by chaion07):

 * keywords:  good-first-bug has-patch has-unit-tests => good-first-bug has-
     patch has-unit-tests dev-feedback


Comment:

 Thanks @lalitjalandhar for reporting the issue. We reviewed this ticket
 during a [recent triage session at
 Core]https://wordpress.slack.com/archives/C02RQBWTW/p1623733904418100. As
 @hellofromTonya mentioned in here last comment that we need test review
 and testing as well as coding. We think that having an owner for this
 would also help determine the future of the ticket better. Also adding the
 dev-feedback keyword. Thanks!

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


More information about the wp-trac mailing list