Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1964 closed defect (bug) (fixed)

Fix viewing pages with the same slug

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

Description

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 19 years ago.
fix-sameslug-pages.2.diff (3.6 KB) - added by davidhouse 19 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ryan
19 years ago

  • Owner changed from anonymous to ryan

#2 @davidhouse
19 years ago

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

#3 @ryan
19 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)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.