Make WordPress Core

Opened 11 years ago

Closed 9 years ago

#4941 closed defect (bug) (wontfix)

Collating terms with custom slugs

Reported by: ryan Owned by: ryan
Milestone: Priority: normal
Severity: normal Version: 2.3
Component: Taxonomy Keywords: taxonomy
Focuses: Cc:


See discussion here:


A category with a custom slug (a slug that does not match the sanitized form of the category name) does not map to the same term as a tag of the same name. It seems a reasonable expectation that the tag would map to the same term as a category of the same name.

Further, a tag named "Foo" maps to a category named "Foo Bar" if "Foo Bar" has a custom slug of "foo". In this case, perhaps "Foo" should be given a new term with a slug of foo-2 instead of sharing a term with a category that has a different name.

Also, since a post's tags are saved by name instead of term ID, tags can bounce to different terms if slugs are changed.

Change History (4)

#1 @ryan
11 years ago

  • Milestone changed from 2.3 to 2.4 (next)

These issues are modest enough to live with for now. Let's revisit in 2.4.

#2 @Denis-de-Bernardy
9 years ago

  • Component changed from General to Taxonomy
  • Owner changed from anonymous to ryan

#3 @hakre
9 years ago

any interest to get this fixed ryan?

#4 @ryan
9 years ago

  • Milestone 2.9 deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.