[wp-trac] [WordPress Trac] #30501: Prevent flushing rewrites during page load
WordPress Trac
noreply at wordpress.org
Thu Jan 8 21:59:59 UTC 2015
#30501: Prevent flushing rewrites during page load
-----------------------------------------------------+------------------
Reporter: joostdevalk | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Permalinks | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback 4.2-early commit | Focuses:
-----------------------------------------------------+------------------
Comment (by SergeyBiryukov):
In [changeset:"31104"]:
{{{
#!CommitTicketReference repository="" revision="31104"
If WP_Rewrite::flush_rules() is called on 'init' or earlier, wait until
'wp_loaded' before actually flushing the rules, to make sure all the rules
registered on 'init' are included.
props joostdevalk.
see #30501.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30501#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list