Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#1964 closed defect (bug) (fixed)

Fix viewing pages with the same slug

Reported by: davidhouse Owned by: ryan
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: General Keywords: pages bg|has-patch
Focuses: Cc:


Previously, when you had two pages with the same slug, viewing them would result in both being combined into one page. This patch fixes that behaviour, using the same code as that which is used in similar situations for categories.

Attachments (2)

fix-sameslug-pages.diff (3.7 KB) - added by davidhouse 16 years ago.
fix-sameslug-pages.2.diff (3.6 KB) - added by davidhouse 16 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ryan
16 years ago

  • Owner changed from anonymous to ryan

#2 @davidhouse
16 years ago

New patch to fix bug: when viewing a parent page, all its child pages were being shown as well.

#3 @ryan
16 years ago

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

(In [3229]) Use the full page hierarchy when matching page URIs. Props David House. fixes #1964

#4 @(none)
15 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.