Why does WP rename similar “term name”-slugs in separate taxonomies?

I have several custom taxonomies and within two of those ( Company Categories and Photographer Categories ) I have a term that is similar. The Company Category called Boudoir and the Photographer category called Boudoir Photographers.

When I created the Boudoir Photographer term in the Photographer Categories it renamed the Boudoir term in the Company Categories to Boudoir Photography.

Why did this happen? The number of posts for either taxonomy term doe snot change, only its name and the slug.

Thanx in advance!

1 Answer
1

They are all in your {wpdb->prefix}_terms table and therefore need to be unique. Else you could only get them via ID.

Leave a Comment