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

WordPress Trac noreply at wordpress.org
Wed Aug 17 21:03:21 UTC 2022


#39210: switch_to_locale() unloads all plugin and theme translations
-------------------------------------------------+-------------------------
 Reporter:  gchtr                                |       Owner:  ocean90
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1
Component:  I18N                                 |     Version:  4.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-unit-tests has-patch needs-dev-  |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53902" 53902]:
 {{{
 #!CommitTicketReference repository="" revision="53902"
 Build/Test Tools: Only define `WP_PLUGIN_DIR` when running core tests.

 This takes into account plugin or theme test suites that rely on
 `WP_PLUGIN_DIR` being set to a custom path.

 Follow-up to [49236], [49269], [49566], [53874].

 Props aaemnnosttv, flixos90.
 Fixes #39210.
 }}}

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


More information about the wp-trac mailing list