[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 02:24:44 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 fixed-major  |     Focuses:
------------------------------------------+----------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54806" 54806]:
 {{{
 #!CommitTicketReference repository="" revision="54806"
 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, peterwilsoncc.
 Merges [54803] to the 6.1 branch.
 Fixes #57051.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57051#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list