[wp-trac] [WordPress Trac] #30501: Prevent flushing rewrites during page load
WordPress Trac
noreply at wordpress.org
Sat Dec 6 04:17:20 UTC 2014
#30501: Prevent flushing rewrites during page load
------------------------------------+-----------------------------
Reporter: joostdevalk | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Permalinks | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by mboynes):
@joostdevalk, how about pushing this out of `init`, perhaps to
`wp_loaded`? I can imagine plenty of plugins may register rewrites after
priority 10 of `init`, and this patch wouldn't solve this problem for
them. `wp_loaded` is the last action that fires before
`WP::parse_request()` (where the rewrite rules are used), so it seems like
a decent time to regenerate should that be requested.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30501#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list