[wp-trac] [WordPress Trac] #39210: switch_to_locale() unloads all plugin and theme translations

WordPress Trac noreply at wordpress.org
Tue Oct 13 12:30:06 UTC 2020


#39210: switch_to_locale() unloads all plugin and theme translations
-----------------------------------------------------+---------------------
 Reporter:  gchtr                                    |       Owner:  (none)
     Type:  defect (bug)                             |      Status:  new
 Priority:  normal                                   |   Milestone:  5.6
Component:  I18N                                     |     Version:  4.7
 Severity:  normal                                   |  Resolution:
 Keywords:  has-patch needs-unit-tests dev-feedback  |     Focuses:
-----------------------------------------------------+---------------------

Comment (by ocean90):

 Replying to [comment:21 swissspidy]:
 > Any chance we could resurrect that?

 If you can refresh the patch and create a PR, sure why not.
 I guess a good test to see if this is working is to
 [https://github.com/WordPress/wordpress-
 develop/pull/590/commits/115b56953b1d803b1b8dd61fac4b2aaa05dff6e8 update
 the existing test_plugin_translation_after_switching_locale_twice() test].

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


More information about the wp-trac mailing list