Opened 14 years ago
Closed 14 years ago
#22153 closed defect (bug) (duplicate)
Duplicate Category and Tag Name
| Reported by: | alogblog | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | 3.4.2 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
Add a new Tag, for example, "Car". Then it's default slug becomes "car".
And then add a new Category named "Car", which is same to above tag name.
I think its default category slug has to be "car-1", but resulting slug is "car".
I read below documentation in function wp_unique_term_slug($slug, $term);
"The $slug has to be unique global to every taxonomy, meaning that one
taxonomy term can't have a matching slug with another taxonomy term."
Is it bug?
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Currently, terms with the same name in different taxonomies can share the same slug.
Related: #5809, #21950, #22023