[wp-trac] [WordPress Trac] #61188: switch_to_blog() causes Fatal error on classic themes

WordPress Trac noreply at wordpress.org
Mon May 13 09:53:21 UTC 2024


#61188: switch_to_blog() causes Fatal error on classic themes
-------------------------------+------------------------------
 Reporter:  digberlin          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Themes             |     Version:  6.5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  multisite
-------------------------------+------------------------------

Comment (by swissspidy):

 I still can't reproduce this with such a setup on 6.5. With multiple sites
 using Twenty Twenty-One, I added some code to `functions.php` and
 switching to a different site and getting some posts from there works just
 fine.

 Maybe someone else has more luck; otherwise it sounds more like an issue
 with your specific setup.

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


More information about the wp-trac mailing list