#45668 closed defect (bug) (fixed)
The (new) determine_locale() may throw a notice
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.0.2 | Priority: | normal |
| Severity: | normal | Version: | 5.0 |
| Component: | I18N | Keywords: | has-patch fixed-5.0 |
| Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Introduced in [43776]. An
! empty( $GLOBALS['pagenow'] )check would probably fix it.Setting to 5.0.2 as a notice would break any JS output.