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

WordPress Trac noreply at wordpress.org
Fri Jan 9 15:42:16 UTC 2015


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

Comment (by joostdevalk):

 Flushing on every page load is still bad and this patch does not prevent
 that. What this DOES prevent is a plugin or theme running
 flush_rewrite_rules before plugins have had a chance to register their
 rewrites, which causes URLs to break. So it doesn't prevent it from
 running, it just moves it.

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


More information about the wp-trac mailing list