WordPress.org

Make WordPress Core

Opened 21 months ago

Last modified 20 months ago

#18877 new enhancement

DRY up rewrite rule matching — at Version 1

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

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)

scribu21 months ago

comment:1 scribu21 months ago

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