[wp-trac] [WordPress Trac] #29783: User Admin Language
WordPress Trac
noreply at wordpress.org
Tue Oct 4 04:27:52 UTC 2016
#29783: User Admin Language
-------------------------------------------------+-------------------------
Reporter: faevilangel | Owner: ocean90
Type: feature request | Status: reopened
Priority: normal | Milestone: 4.7
Component: I18N | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
needs-dev-note | administration
-------------------------------------------------+-------------------------
Changes (by pento):
* status: closed => reopened
* resolution: fixed =>
Comment:
`load_default_textdomain ()` is called from `wp-settings.php`, it calls
`get_user_locale()`, which includes a call to `wp_get_current_user()`. In
the past, this hasn't been called before `init`, the Customizer's theme
preview being the notable exception.
This behaviour causes bbPress to throw a notice, see #24169, #BB2309.
/cc @johnjamesjacoby for bbPress perspective.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29783#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list