[wp-trac] [WordPress Trac] #61518: Switch locale to admin locale when sending admin notifications
WordPress Trac
noreply at wordpress.org
Mon Sep 30 15:50:35 UTC 2024
#61518: Switch locale to admin locale when sending admin notifications
-------------------------------------------------+-------------------------
Reporter: benniledl | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.7
Component: I18N | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-refresh needs-unit- | Focuses:
tests | administration
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"59128" 59128]:
{{{
#!CommitTicketReference repository="" revision="59128"
I18N: Switch locale to admin locale when sending admin notifications.
If sending an email to the site administrator's email address, look up if
a user with the same email exists and switch to that user's locale.
If not, falls back to the site locale as usual.
Props benniledl, swissspidy, mukesh27.
Fixes #61518.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61518#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list