WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 weeks ago

#18877 new enhancement

DRY up rewrite rule matching — at Version 1

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

@scribu
4 years ago

#1 @scribu
4 years ago

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