Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 15 months ago

#39899 closed defect (bug) (duplicate)

Integer slugs load parents content

Reported by: nattaylor Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7.2
Component: Canonical Keywords:
Focuses: Cc:


Given a page with slug=foo then requests for /foo/[0-9]* load foo's content.

To reproduce, just try this on most Wordpress installs (e.g. https://techcrunch.com/contact/8675309/)

Here is the output from the debug bar



Query String:


Matched Rewrite Rule:


Matched Rewrite Query:


Change History (2)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Canonical
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @nattaylor, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #28081.

#2 @nattaylor
4 years ago

Ah, thanks @SergeyBiryukov. I was sure I wasn't the only one.

Note: See TracTickets for help on using tickets.