Make WordPress Core

Opened 7 years ago

Last modified 2 years ago

#18877 assigned enhancement

DRY up rewrite rule matching — at Version 1

Reported by: scribu Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Rewrite Rules Keywords: has-patch has-unit-tests needs-refresh
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)

7 years ago

#1 @scribu
7 years ago

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