[wp-trac] [WordPress Trac] #30501: Prevent flushing rewrites during page load

WordPress Trac noreply at wordpress.org
Wed Apr 1 19:05:23 UTC 2015

#30501: Prevent flushing rewrites during page load
 Reporter:  joostdevalk                 |       Owner:  SergeyBiryukov
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  4.2
Component:  Permalinks                  |     Version:
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  4.2-early has-patch commit  |     Focuses:
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


 In [changeset:"31964"]:
 #!CommitTicketReference repository="" revision="31964"
 When shifting `WP_Rewrite::flush_rules()` to a later action if it was
 called too early, make sure to do a hard flush if requested.

 props Denis-de-Bernardy, mordauk for initial patch.
 fixes #30501.

Ticket URL: <https://core.trac.wordpress.org/ticket/30501#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list