WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 8 years ago

#1956 closed defect (bug) (fixed)

Force unique category URIs

Reported by: davidhouse Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 1.6
Component: Administration Keywords: dev-feedback 2nd-opinion
Focuses: Cc:

Description

Even though category slugs don't have to be unique, we should check to make sure that URIs don't collide. Patch attached.

Attachments (5)

force_unique_cat_paths.diff (1.7 KB) - added by davidhouse 10 years ago.
force_unique_cat_paths.2.diff (1.2 KB) - added by davidhouse 10 years ago.
minus debugging output :)
force_unique_cat_paths.3.diff (1.1 KB) - added by davidhouse 10 years ago.
even less debugging output!
force_unique_cat_paths.4.diff (1.1 KB) - added by davidhouse 10 years ago.
last patch. i promise.
1956.diff (1.1 KB) - added by Nazgul 9 years ago.

Download all attachments as: .zip

Change History (12)

@davidhouse
10 years ago

minus debugging output :)

#1 @matt
10 years ago

  • Milestone changed from 2.0 to 2.1

@davidhouse
10 years ago

even less debugging output!

@davidhouse
10 years ago

last patch. i promise.

#2 @davidhouse
10 years ago

  • Keywords bg|commit added

May break things.

@Nazgul
9 years ago

#3 @Nazgul
9 years ago

  • Keywords has-patch commit added; bg|has-patch bg|commit removed

Patch refreshed

#4 @matt
9 years ago

  • Milestone changed from 2.1 to 2.2

#5 @rob1n
9 years ago

  • Keywords dev-feedback 2nd-opinion added; categories has-patch commit removed

See also #3683. And my comment.

#6 @foolswisdom
9 years ago

  • Milestone changed from 2.2 to 2.3

#7 @ryan
8 years ago

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

Slugs are unique in 2.3.

Note: See TracTickets for help on using tickets.