WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 4 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:

Description

See discussion here:

http://comox.textdrive.com/pipermail/wp-testers/2007-September/005095.html

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)

comment:1 ryan7 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.

comment:2 Denis-de-Bernardy5 years ago

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

comment:3 hakre5 years ago

any interest to get this fixed ryan?

comment:4 ryan4 years ago

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