[wp-trac] [WordPress Trac] #39530: When posting too many comments via API, the error response is HTML, not JSON
WordPress Trac
noreply at wordpress.org
Tue Jan 10 07:23:43 UTC 2017
#39530: When posting too many comments via API, the error response is HTML, not
JSON
---------------------------+------------------------------
Reporter: martinmalinda | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Changes (by rmccue):
* focuses: rest-api =>
* component: General => REST API
Comment:
Thought we caught this previously. Basically, the underlying functions
that the comment controller calls check for comment floods, then call
`wp_die`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39530#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list