[wp-trac] [WordPress Trac] #49971: Add get_admin_locale() that is separate from WPLANG / get_locale() / get_user_locale()

WordPress Trac noreply at wordpress.org
Mon Oct 14 12:22:28 UTC 2024


#49971: Add get_admin_locale() that is separate from WPLANG / get_locale() /
get_user_locale()
-----------------------------+--------------------------------------
 Reporter:  apedog           |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  I18N             |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  ui, rtl, administration
-----------------------------+--------------------------------------

Comment (by swissspidy):

 Related new change in #61518 / [59128], added in WordPress 6.7:

 Every time an email is sent to the administrator email address
 (`admin_email`), WordPress checks if a user with the same email address
 exists. If so, the email is sent in that user's locale.

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


More information about the wp-trac mailing list