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

WordPress Trac noreply at wordpress.org
Mon Jan 12 15:43:49 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 SergeyBiryukov):

 Replying to [comment:21 Funkatronic]:
 > Is `add_action` smart enough to call `flush_rewrite_rules` only once vs
 the n amount of calls various plugins will do?

 Yes.

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


More information about the wp-trac mailing list