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

WordPress Trac noreply at wordpress.org
Tue Apr 21 12:13:20 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:
----------------------------------------+-----------------------------

Comment (by selnomeria):

 please, tell the world (all plugins developers, in a big RED NOTICE, that
 they should disable flushing on every page load...
 they'd better to use smth like this:
 if (get_option("my_checkpoint_12345")) {
    ....flush...
    ....delete_option("my_checkpoint_12345");........
 }

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


More information about the wp-trac mailing list