[wp-trac] [WordPress Trac] #49263: Switching blog doesn't switch locale

WordPress Trac noreply at wordpress.org
Tue Jan 21 21:58:09 UTC 2020


#49263: Switching blog doesn't switch locale
-------------------------+------------------------------
 Reporter:  iandunn      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  I18N         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |     Focuses:  multisite
-------------------------+------------------------------

Comment (by johnjamesjacoby):

 🤔

 > Another idea would be to add a new parameter to switch_to_blog() which
 would let the caller explicitly define what should be switched. e.g.,

 I initially did not like that idea, but it's actually pretty good. Could
 pass those into the related filters then too.

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


More information about the wp-trac mailing list