I have 3 custom post types, and they each have a taxonomy labelled location
, with some term names shared between them. The problem is, if I update a term name in any of the 3 custom post types, it updates the other 2 also, if the same term name is found. This also happens for the slug of the term
Each is registered with different names, so for example:
- location-A
- location-B
- location-C
They each have also been assigned to completely different post types. Their slugs are also different. The only thing that's really the same is the locations labels in the admin menus.
Normally I wouldn't mind the names updating across each of the taxonomies, but it's causing a headache when limiting search results to each post type. I'm getting posts showing up where they shouldn't.
I have also tested this with a another taxonomy, and their shared term names also update each other. It seems to be the naming of the term that's the issue.
Is this a bug or am I overlooking it too much? can you just not have 2 terms, in completely different taxonomies and post types with the same name/slug?