id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 45933 WSODs protection returns incorrect content type for JSON Requests spacedmonkey flixos90 "While testing WSODs protection ( #44458 ), I noticed that on REST API calls that wrong content type is returned. The REST API expects valid json to be returned. Other invalid rest requests, return an error state in the following format. {{{#!php { code: ""rest_no_route"", message: ""No route was found matching the URL and request method"", data: { status: 404 } } }}} This issue is that `wp_die`, has go handles for, admin ajax, xmlrpc and html responses. But doesn't check for feed or rest api rests. " defect (bug) reviewing normal 5.1 Bootstrap/Load 5.1 normal servehappy needs-patch needs-testing multisite