Make WordPress Core

Opened 4 years ago

Last modified 4 weeks 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: performance 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)

4 years ago

#1 @scribu
4 years ago

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