[wp-trac] [WordPress Trac] #52605: Reset password email sent in wrong language

WordPress Trac noreply at wordpress.org
Thu Feb 25 14:08:23 UTC 2021


#52605: Reset password email sent in wrong language
----------------------------------------+-----------------------
 Reporter:  Chouby                      |       Owner:  desrosj
     Type:  defect (bug)                |      Status:  reopened
 Priority:  normal                      |   Milestone:  5.7
Component:  Users                       |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+-----------------------
Changes (by Chouby):

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


Comment:

 May I suggest [attachment:"52605.2.diff"] as an improvement?

 The reason for my proposal to move the `switch_to_locale()` above the
 evaluation of the site name is to allow Polylang to translate the site
 name on the fly when retrieving the `blogname` option.

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


More information about the wp-trac mailing list