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)

@davidhouse10 years ago

minus debugging output :)

comment:1 @matt10 years ago

  • Milestone changed from 2.0 to 2.1

@davidhouse10 years ago

even less debugging output!

@davidhouse10 years ago

last patch. i promise.

comment:2 @davidhouse10 years ago

  • Keywords bg|commit added

May break things.

@Nazgul9 years ago

comment:3 @Nazgul9 years ago

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

Patch refreshed

comment:4 @matt9 years ago

  • Milestone changed from 2.1 to 2.2

comment:5 @rob1n8 years ago

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

See also #3683. And my comment.

comment:6 @foolswisdom8 years ago

  • Milestone changed from 2.2 to 2.3

comment:7 @ryan8 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.