[wp-trac] [WordPress Trac] #59677: Incorrect theme returned when switching to blog in multisite subsite

WordPress Trac noreply at wordpress.org
Thu Oct 19 19:07:29 UTC 2023


#59677: Incorrect theme returned when switching to blog in multisite subsite
--------------------------------------+------------------------------------
 Reporter:  codex-m                   |       Owner:  flixos90
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.4
Component:  Networks and Sites        |     Version:  trunk
 Severity:  major                     |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite,
                                      |  performance
--------------------------------------+------------------------------------
Changes (by flixos90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56974" 56974]:
 {{{
 #!CommitTicketReference repository="" revision="56974"
 Multisite: Ensure that switching sites resets the current theme directory
 globals.

 The globals introduced in [56635] to cache the current theme directories
 in memory were not considering switching sites in a multisite network.
 This changeset addresses the bug including test coverage.

 Props codex-m, jeremyfelt.
 Fixes #59677.
 See #18298.
 }}}

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


More information about the wp-trac mailing list