[wp-trac] [WordPress Trac] #47393: Comment form submission with invalid fields incorrectly returns 200 OK response
WordPress Trac
noreply at wordpress.org
Sun May 26 15:34:16 UTC 2019
#47393: Comment form submission with invalid fields incorrectly returns 200 OK
response
--------------------------+------------------------------
Reporter: westonruter | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.1
Severity: normal | Resolution:
Keywords: | Focuses: rest-api
--------------------------+------------------------------
Changes (by westonruter):
* Attachment "47393.0.diff" added.
Use 400 status instead of 200 status for invalid comment form submission
responses to align with REST API: https://github.com/westonruter
/wordpress-develop/pull/2
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47393>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list