WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 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:

Description

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 5 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 janeforshort5 years ago

  • Keywords has-patch needs-testing added

comment:2 Denis-de-Bernardy5 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.