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

WordPress Trac noreply at wordpress.org
Wed Apr 1 18:58:07 UTC 2015


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

Comment (by SergeyBiryukov):

 [attachment:30501.2.patch] doesn't account for a situation where
 `flush_rules()` is called with `$hard = true` and then with `$hard =
 false`. It would only do a soft flush in that case.

 [attachment:30501.3.patch] fixes that.

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


More information about the wp-trac mailing list