mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
Add wp_load_translations_early()
to wpdb::check_connection()
.
Fixes #29306. See #34216. Built from https://develop.svn.wordpress.org/trunk@34943 git-svn-id: http://core.svn.wordpress.org/trunk@34908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
50e6ef8bd7
commit
639371de09
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-34942';
|
$wp_version = '4.4-alpha-34943';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
@ -1633,6 +1633,8 @@ class wpdb {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wp_load_translations_early();
|
||||||
|
|
||||||
$message = '<h1>' . __( 'Error reconnecting to the database' ) . "</h1>\n";
|
$message = '<h1>' . __( 'Error reconnecting to the database' ) . "</h1>\n";
|
||||||
|
|
||||||
$message .= '<p>' . sprintf(
|
$message .= '<p>' . sprintf(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user