[wp-trac] [WordPress Trac] #29783: User Admin Language
WordPress Trac
noreply at wordpress.org
Sat Oct 29 11:22:53 UTC 2016
#29783: User Admin Language
-----------------------------+-----------------------------
Reporter: faevilangel | Owner: ocean90
Type: feature request | Status: closed
Priority: normal | Milestone: 4.7
Component: I18N | Version: 4.0
Severity: normal | Resolution: fixed
Keywords: needs-dev-note | Focuses: administration
-----------------------------+-----------------------------
Comment (by ocean90):
In [changeset:"39005"]:
{{{
#!CommitTicketReference repository="" revision="39005"
I18N: Don't initialize `WP_Locale_Switcher` in
`wp_load_translations_early()`.
`wp_load_translations_early()` is used when WordPress isn't fully
initialized. Therefore using the `WP_Locale_Switcher` with
`get_locale()`/`get_user_locale()` can cause PHP fatal errors.
This reverts [38976] and [38977], and instead removes `WP_Locale_Switcher`
from `wp_load_translations_early()`.
See #29783.
Fixes #38535.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29783#comment:69>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list