[wp-trac] [WordPress Trac] #29118: Registering rewrite rules is hard, so let's introduce remove_rewrite_rule.
WordPress Trac
noreply at wordpress.org
Mon Sep 8 14:18:59 UTC 2014
#29118: Registering rewrite rules is hard, so let's introduce remove_rewrite_rule.
---------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+------------------------------
Comment (by mboynes):
I'm with @danielbachhuber. I've also hooked relatively expensive processes
into a generate rewrite rules filter because I understood how and when it
would be run. I've done this in cases to ''improve'' performance for the
average page load (e.g. generating a rewrite rule for a taxonomy with very
few terms to be something like `(foo|bar|bat)/?$` so I don't have to sort
out collisions with greedy rules).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29118#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list