Make WordPress Core


Ignore:
Timestamp:
10/31/2021 06:06:02 AM (3 years ago)
Author:
TimothyBlynJacobs
Message:

REST API: Send a 500 status code when JSON encoding fails.

Previously, a 200 status code would be sent despite the 500 status code present in the response body.

Props hermpheus, lalitjalandhar.
Fixes #53056.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.