Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#9477 closed defect (bug) (duplicate)

Endpoints not playing well with attachment pages

Reported by: Denis-de-Bernardy Owned by: ryan
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Permalinks Keywords: has-patch needs-testing
Focuses: Cc:


While trying to add a print endpoint, I ran into the following issue:

  • /2009/04/02/foobar/print/ -> renders the post in the print template
  • /2009/04/02/foobar/test/ -> renders its test attachment
  • /2009/04/02/foobar/test/print/ -> renders the front page in the print template

plugin code to reproduce is attached.

Attachments (1)

endpoint-test.php (848 bytes) - added by Denis-de-Bernardy 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @janeforshort
13 years ago

  • Keywords has-patch needs-testing added

#2 @Denis-de-Bernardy
13 years ago

  • Milestone 2.8 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

dup of #5553

Note: See TracTickets for help on using tickets.