[wp-trac] [WordPress Trac] #29783: User Admin Language
WordPress Trac
noreply at wordpress.org
Tue Oct 4 04:33:24 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
-------------------------------------------------+-------------------------
Comment (by netweb):
Replying to [comment:50 pento]:
> `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.
See also https://codex.bbpress.org/bbp_setup_current_user/was-called-
incorrectly/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29783#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list