[wp-trac] [WordPress Trac] #47093: Recovery mode email is not translated

WordPress Trac noreply at wordpress.org
Wed May 1 18:35:33 UTC 2019


#47093: Recovery mode email is not translated
------------------------------------+---------------------
 Reporter:  desrosj                 |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  5.2
Component:  Administration          |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  needs-patch servehappy  |     Focuses:
------------------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 TimothyBlynJacobs]:
 > I guess we'd need to check something like this? Not super familiar with
 the potential ramifications.
 >
 > {{{#!php
 > if ( ! isset( $GLOBALS['wp_locale'] ) ) {
 >     load_default_textdomain();
 > }
 > }}}

 Looks good to me, let's do that.

 > Using `wp_load_translations_early` only works for me if I have `WPLANG`
 set in `wp-config.php`.

 Related: #30049

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


More information about the wp-trac mailing list