WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 4 months ago

#18877 new enhancement

DRY up rewrite rule matching — at Version 1

Reported by: scribu Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Rewrite Rules Keywords: has-patch good-first-patch
Focuses: Cc:

Description (last modified by scribu)

Currently, the whole rewrite matching loop is duplicated: once in WP::parse_request() and once in url_to_postid().

Re-posting the patch from #16687 for consideration.

Change History (2)

@scribu3 years ago

comment:1 @scribu3 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.