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

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


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

 * owner:  (none) => flixos90
 * status:  new => reviewing


Comment:

 Thank you for the report @codex-m, great catch. And thanks for the PR
 @jeremyfelt. I think that solution looks good, unsetting these globals
 when switching the site should be the most efficient solution to that bug.

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


More information about the wp-trac mailing list