Opened 7 years ago
Closed 6 years ago
#42781 closed defect (bug) (fixed)
HTTP Status code should be a 400 instead of a 409 when attempting to add a term (by slug) that already exist
Reported by: | shooper | Owned by: | rachelbaker |
---|---|---|---|
Milestone: | 5.0 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | REST API | Keywords: | has-patch has-unit-tests |
Focuses: | rest-api | Cc: |
Description
The patch to address #41370, which released in WP 4.9 changed the HTTP status code returned when a term already exists to 409. It should have been an HTTP 400 for consistency with the rest of the endpoints.
Attachments (1)
Change History (8)
This ticket was mentioned in Slack in #core-restapi by shooper. View the logs.
7 years ago
This ticket was mentioned in Slack in #core-restapi by kadamwhite. View the logs.
7 years ago
Note: See
TracTickets for help on using
tickets.
In 42354: