WordPress.org

Make WordPress Core

Opened 14 years ago

Closed 13 years ago

Last modified 5 years ago

#1234 closed defect (bug) (fixed)

page and post with the same slug problem

Reported by: Denis de Bernardy Owned by:
Milestone: Priority: normal
Severity: major Version:
Component: Template Keywords:
Focuses: Cc:

Description

http://www.semiologic.com/cogent-confabulation/

i think that simply adding LIMIT 1 on is_single() to the WP query will solve the problem

Change History (4)

#1 @Denis de Bernardy
14 years ago

  • Patch set to No

#2 @Denis de Bernardy
14 years ago

weird... the bug doesn't occur when i'm not logged.

the bug works as such: it fetches one too much post in the db, for some reason.

i see:

http://www.semiologic.com/cogent-confabulation/

followed by:

http://www.semiologic.com/2005/03/12/cogent-confabulation/

obviously, the bug can also be solved by editing the template, so you might as well downgrade the priority to minor.

#3 @markjaquith
13 years ago

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

Believe this was solved in 2.0

Reopen if it is still an issue, Dennis.

This ticket was mentioned in Slack in #slackhelp by jsavin. View the logs.


5 years ago

Note: See TracTickets for help on using tickets.