[wp-trac] [WordPress Trac] #18877: DRY up rewrite rule matching

WordPress Trac noreply at wordpress.org
Fri Jan 15 23:13:29 UTC 2016


#18877: DRY up rewrite rule matching
--------------------------------------------+--------------------------
 Reporter:  scribu                          |       Owner:
     Type:  enhancement                     |      Status:  new
 Priority:  normal                          |   Milestone:  4.5
Component:  Rewrite Rules                   |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  needs-refresh needs-unit-tests  |     Focuses:  performance
--------------------------------------------+--------------------------
Changes (by ericlewis):

 * keywords:  needs-refresh => needs-refresh needs-unit-tests


Comment:

 > Is the code really identical between the two branches, or are there some
 differences?

 Mostly. It looks like commits in #17177 were only made to
 `WP->parse_request()` and not `url_to_postid()`, which makes sense because
 `url_to_postid()` didn't need homepage-related improvements.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18877#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list