[wp-trac] [WordPress Trac] #42597: Term Already Exists Error No Longer Returns Term ID
WordPress Trac
noreply at wordpress.org
Fri Nov 17 14:32:10 UTC 2017
#42597: Term Already Exists Error No Longer Returns Term ID
--------------------------------------+------------------------------
Reporter: coleh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.9
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by shooper):
* keywords: => has-patch has-unit-tests
Comment:
@swissspidy Good catch on the duplicate, didn't notice this ticket.
Patch added that adds term_id to the 'data' array in the response. This
isn't 100% backward compatible with 4.8.3, but I don't think we can change
the HTTP status code in the response without adding the 'status' key w/
add_data(). Open to suggestions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42597#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list