Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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:

  1. location-A
  2. location-B
  3. 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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Ok found a ticket on the trac. It's a bug and has been around for quite some time (~4 years). Hopefully it's fixed soon http://core.trac.wordpress.org/ticket/5809

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.