[wp-trac] [WordPress Trac] #42240: Improve returned status codes for admin-ajax.php
WordPress Trac
noreply at wordpress.org
Mon Oct 16 17:41:27 UTC 2017
#42240: Improve returned status codes for admin-ajax.php
--------------------------+--------------------
Reporter: Clorith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Changes (by Clorith):
* keywords: => has-patch
Comment:
[attachment:42240.patch] reverts the default response to not declare a
specific response code (as it was previously), but also introduces checks
for `has_action()` and returns a bad request if no action has been
registered.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42240#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list