id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 47188 Ensure that valid json is return for rest api, even when correct headers not sent. spacedmonkey spacedmonkey "Current when wp_die is called in php fatal error handler, valid json is only returned when json headers are returned as the function `wp_is_json_request` is used. See [https://core.trac.wordpress.org/ticket/45933 #45933]. However, core could do more to return json when it knows the current request is a REST API call. " defect (bug) assigned normal Future Release REST API 4.4 normal servehappy needs-patch rest-api