Daniel Bachhuber c5e1cd0401 l10n: Avoid calling is_user_logged_in() in determine_locale().
`is_user_logged_in()` is a pluggable function, and loaded after plugins are loaded. If a plugin calls `__()` too early, `is_user_logged_in()` is missing and WordPress will fatal. `get_user_locale()` already handles this scenario for us, so it's safe to rely on exclusively.

See #44758.
Fixes #45235.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43846 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-31 02:32:49 +00:00
2018-10-09 02:51:32 +00:00
Description
No description provided
244 MiB
Languages
PHP 81.4%
CSS 8.9%
JavaScript 8.2%
SCSS 0.8%
HTML 0.7%