[wp-trac] [WordPress Trac] #22370: dynamic_sidebar does not consider switch_to_blog

WordPress Trac noreply at wordpress.org
Thu Dec 10 20:26:25 UTC 2015


#22370: dynamic_sidebar does not consider switch_to_blog
--------------------------+------------------------
 Reporter:  tarasm        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Widgets       |     Version:  3.4.2
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:  multisite
--------------------------+------------------------
Changes (by jeremyfelt):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Similar to several other things in core, `switch_to_blog()` changes
 context in a way that ignores the underlying code needed to register
 sidebars, widgets, etc. so that they are available in the current context.

 I'm going to close this as wontfix, only because it's somewhat expected
 behavior.

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


More information about the wp-trac mailing list