[wp-trac] [WordPress Trac] #38518: Rewrite Rules rebuilding on parse_request

WordPress Trac noreply at wordpress.org
Wed Oct 26 18:34:00 UTC 2016


#38518: Rewrite Rules rebuilding on parse_request
----------------------------+-----------------------------
 Reporter:  andyphillips82  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Rewrite Rules   |    Version:  4.6.1
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Hi,

 We have an issue that when flush_rewrite_rules is flushing, another
 request is coming in an parse_request is firing.  While
 update_option('rewrite_rules', ' ') is deleted and the rules are being
 processed, parse_request is passing the conditional and writing it's own
 rules.

 I've created a patch that has flush_rewrite_rules being solely responsible
 for rebuilding the rewrite rules. Otherwise, parse request will just read
 the current rules.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38518>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list