WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 6 years ago

#1956 closed defect (bug) (fixed)

Force unique category URIs

Reported by: davidhouse Owned by: anonymous
Priority: normal Milestone: 2.3
Component: Administration Version: 1.6
Severity: normal Keywords: dev-feedback 2nd-opinion
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 8 years ago.
force_unique_cat_paths.2.diff (1.2 KB) - added by davidhouse 8 years ago.
minus debugging output :)
force_unique_cat_paths.3.diff (1.1 KB) - added by davidhouse 8 years ago.
even less debugging output!
force_unique_cat_paths.4.diff (1.1 KB) - added by davidhouse 8 years ago.
last patch. i promise.
1956.diff (1.1 KB) - added by Nazgul 7 years ago.

Download all attachments as: .zip

Change History (12)

davidhouse8 years ago

minus debugging output :)

comment:1 matt8 years ago

  • Milestone changed from 2.0 to 2.1

davidhouse8 years ago

even less debugging output!

davidhouse8 years ago

last patch. i promise.

comment:2 davidhouse7 years ago

  • Keywords bg|commit added

May break things.

Nazgul7 years ago

comment:3 Nazgul7 years ago

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

Patch refreshed

comment:4 matt7 years ago

  • Milestone changed from 2.1 to 2.2

comment:5 rob1n6 years ago

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

See also #3683. And my comment.

comment:6 foolswisdom6 years ago

  • Milestone changed from 2.2 to 2.3

comment:7 ryan6 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.