Make WordPress Core

Opened 19 years ago

Closed 19 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's profile 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 (5)

#1 @Denis de Bernardy
19 years ago

  • Patch set to No

#2 @Denis de Bernardy
19 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
19 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.


10 years ago

#5 @secpentester1337
5 years ago

#38088 was marked as a duplicate.

Note: See TracTickets for help on using tickets.