[wp-trac] [WordPress Trac] #45668: The (new) determine_locale() may throw a notice
WordPress Trac
noreply at wordpress.org
Mon Dec 17 07:40:36 UTC 2018
#45668: The (new) determine_locale() may throw a notice
----------------------------+--------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0.2
Component: Administration | Version: 5.0
Severity: normal | Keywords:
Focuses: |
----------------------------+--------------------
Happens then there is a plugin in `/mu-plugins` that loads a textdomain
and `$_GET['wp_lang']` is not empty, like when trying to log in.
Caused by the global `$pagenow`. It is set after mu-plugins are loaded (in
vars.php) but `determine_locale()` expects is to always be set.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45668>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list