Make WordPress Core

Opened 20 years ago

Closed 18 years ago

#1225 closed defect (bug) (wontfix)

cat_name and category_nicename inconsistency

Reported by: denis-de-bernardy's profile Denis de Bernardy Owned by:
Milestone: Priority: normal
Severity: trivial Version:
Component: General Keywords:
Focuses: Cc:

Description

in the DB, you have:

cat_name is a varchar(55) and has a unique key
category_nicemame is a varchar(200) and is indexed

it should be:

cat_name is a varchar(200) and has is indexed
category_nicemame is a varchar(200) and is indexed

ex:

/psychology/social-psychology/
/sociology/social-psychology/

or:

cat_name is a varchar(200) and has a unique key
category_nicemame is a varchar(200) and has a unique key

the previous makes a cat2cat table mandatory however, and the resulting algorithms are orders of magnitude more complex, so I would recommend against it if you are unconfortable with graphs

Change History (3)

#1 @Denis de Bernardy
20 years ago

  • Patch set to No

#2 @shorty114
19 years ago

I believe it's that way for legacy. And it works.

#3 @shorty114
18 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

It works, this is 2 years old... WONTFIX. Patch welcome, but it would probably pretty complicated due to legacy issues.

Note: See TracTickets for help on using tickets.