[wp-trac] [WordPress Trac] #33816: Rewrite rules may be flushed incorrectly when home, siteurl, or page_on_front is updated in multisite

WordPress Trac noreply at wordpress.org
Mon Sep 28 23:23:46 UTC 2015


#33816: Rewrite rules may be flushed incorrectly when home, siteurl, or
page_on_front is updated in multisite
---------------------------+-------------------------
 Reporter:  jeremyfelt     |       Owner:  jeremyfelt
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  4.4
Component:  Rewrite Rules  |     Version:  3.0
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:  multisite
---------------------------+-------------------------
Changes (by jeremyfelt):

 * owner:   => jeremyfelt
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34672"]:
 {{{
 #!CommitTicketReference repository="" revision="34672"
 MS: Delete `rewrite_rules` when updating a switched site's URL.

 Previously, rewrite rules could be flushed and regenerated in the context
 of another site. Deleting the rules when in a switched state allows for
 them to be generated properly on the next page view.

 Fixes #33816.
 }}}

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


More information about the wp-trac mailing list