id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 42240 Improve returned status codes for admin-ajax.php Clorith SergeyBiryukov "in r41120 a status code of 400, Bad Request, was introduced if no request data was provided, but it also makes 400 the default code if the file is left to run till the end. Anything using `admin-ajax.php` would normally end execution once it's done, for better performance, but in some cases it may be desirable to execute multiple actions based on an ajax call. @westonruter mentioned we could do an `has_action()` check and still send a 400 code if there's no registered action for the request, and use 200 as the status if an action exists but it just didn't end execution." defect (bug) closed normal 4.9 Administration 4.9 normal fixed has-patch