[wp-trac] [WordPress Trac] #57051: Fatal error when loading translations early due to a DB error with WPLANG set
WordPress Trac
noreply at wordpress.org
Fri Nov 11 01:25:45 UTC 2022
#57051: Fatal error when loading translations early due to a DB error with WPLANG
set
------------------------------+----------------------------
Reporter: azurseisme | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1.1
Component: I18N | Version: 6.1
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"54803" 54803]:
{{{
#!CommitTicketReference repository="" revision="54803"
I18N: Initialize textdomain registry in `wp_load_translations_early()`.
Initialize `WP_Textdomain_Registry` in `wp_load_translations_early()`.
This ensures the global `$wp_textdomain_registry` is set up prior to
loading the translations.
Props azurseisme, TimothyBlynJacobs, costdev, ocean90, flixos90,
swissspidy.
Fixes #57051.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57051#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list