[wp-trac] [WordPress Trac] #62462: Revert _doing_it_wrong warning when loading translations early

WordPress Trac noreply at wordpress.org
Tue Nov 19 08:07:20 UTC 2024


#62462: Revert _doing_it_wrong warning when loading translations early
-------------------------------+---------------------
 Reporter:  TimothyBlynJacobs  |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  6.7.1
Component:  I18N               |     Version:  6.7
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+---------------------

Comment (by benniledl):

 Is the following behavior related to this ticket?

 #61518: "Switch locale to admin locale when sending admin notifications"
 Implemented:
 When an email is sent to an admin, WP checks if there’s a user associated
 with the admin’s email address. If such a user exists, the email uses the
 locale set for that user.

 On one of my sites, I noticed today. The site’s default language is ES,
 but the admin associated with the email address has their locale set to
 EN. Despite this, the automated plugin update notification email was sent
 in ES, not in the admin's locale (EN).

 I have not created an ticket for this in trac yet because I thought maybe
 it is related to the timing of translations loading just as the issue in
 this ticket.

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


More information about the wp-trac mailing list