[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
Thu Nov 10 13:52:40 UTC 2022


#57051: Fatal error when loading translations early due to a DB error with WPLANG
set
--------------------------+-----------------------
 Reporter:  azurseisme    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  6.1.1
Component:  I18N          |     Version:  6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by ocean90):

 I think the first error will be fixed by #57060. The second one shouldn't
 be triggered then either but I guess we should still add some sanity check
 in `load_textdomain()` whether the `$wp_textdomain_registry` global is
 set?

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


More information about the wp-trac mailing list