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:
Sergey Biryukov 2015-10-08 17:10:58 +00:00
parent 9a80bffdb3
commit 017e097daf

View File

@ -1633,6 +1633,8 @@ class wpdb {
return false;
}
wp_load_translations_early();
$message = '<h1>' . __( 'Error reconnecting to the database' ) . "</h1>\n";
$message .= '<p>' . sprintf(