You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
I'm seeing some very strange behavior when creating and then associating terms via the REST API:
The API will create the new term as requested and return a well-formed response including the new term ID.
Attempting to associate the new term using the returned ID to an existing post will succeed as well (HTTP 201).
However, when viewing the post in WP-Admin, some of the term associations are either missing or entirely wrong.
What's really strange is that I can import a term via the API and then go search for it in WP-Admin as well. The ID that I got back in my REST response is NOT the term ID that Wordpress is using to render the Edit form for the term. That seems a red flag to me, but I'm not sure how or why it's happening.
Attached are screenshots of importing the term, associating the term, searching for the term against the REST API -- these are all in agreement with each other.
The last two screenshots are from the WP-Admin, and they clearly show that "Women's Tennis" is not associated to the Post, and the term ID is also different (27564 != 27580).