Add wp_load_translations_early()
to wpdb::check_connection()
.
Fixes #29306. See #34216. git-svn-id: https://develop.svn.wordpress.org/trunk@34943 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9a80bffdb3
commit
017e097daf
@ -1633,6 +1633,8 @@ class wpdb {
|
||||
return false;
|
||||
}
|
||||
|
||||
wp_load_translations_early();
|
||||
|
||||
$message = '<h1>' . __( 'Error reconnecting to the database' ) . "</h1>\n";
|
||||
|
||||
$message .= '<p>' . sprintf(
|
||||
|
Loading…
Reference in New Issue
Block a user