[wp-trac] [WordPress Trac] #42597: Term Already Exists Error No Longer Returns Term ID
WordPress Trac
noreply at wordpress.org
Fri Nov 17 09:13:53 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 | Keywords:
Focuses: |
--------------------------+-----------------------------
This ticket #41370 appears to have changed the error response for when a
term already exists.
However, it used to return the term ID of the term inside the error data.
It no longer does that. The reason for needing this is if you are
attempting to create a post on another site that has a category/tag that
already exists, it will return the term ID so you can use that inside the
post creation to properly set the taxonomy IDs of the newly created post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42597>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list