Make WordPress Core

Opened 20 years ago

Closed 19 years ago

#1031 closed defect (bug) (fixed)

Problem displaying output of a page when its slug is equal to the slug of another page

Reported by: anonymousbugger's profile anonymousbugger Owned by:
Milestone: Priority: normal
Severity: minor Version: 1.5
Component: Administration Keywords:
Focuses: Cc:

Description

If you have two pages with the same slug (for example, /quux/foo/baz/ and /quux/bar/baz/), the contents of both pages are outputted when viewing either page.

Change History (3)

#1 @anonymousbugger
20 years ago

  • Patch set to No

#2 @anonymousbugger
20 years ago

Oops, my bad: it's not both posts that are outputted but rather only one of the two is outputted for both. That's what I get for filing a bug too quickly, I guess.

Also, a clarification: when I said "'top' is undefined", I meant that the specific number and type of pages there was something I hadn't tested, so I don't know how the value of 'top' affects whether the error happens or not.

#3 @markjaquith
19 years ago

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

Fixed in [3229]

Note: See TracTickets for help on using tickets.