Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1964 closed defect (bug) (fixed)

Fix viewing pages with the same slug

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

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

Download all attachments as: .zip

Change History (6)

#1 @ryan
21 years ago

  • Owner changed from anonymous to ryan

#2 @davidhouse
21 years ago

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

#3 @ryan
21 years ago

  • Resolutionfixed
  • Status newclosed

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

#4 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.