Ticket #16990: 16990.patch
File 16990.patch, 773 bytes (added by , 11 years ago) |
---|
-
wp-includes/wp-db.php
1154 1154 1155 1155 if ( !$this->dbh ) { 1156 1156 wp_load_translations_early(); 1157 1158 // Load custom DB error template, if present. 1159 if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) { 1160 require_once( WP_CONTENT_DIR . '/db-error.php' ); 1161 die(); 1162 } 1163 1157 1164 $this->bail( sprintf( __( " 1158 1165 <h1>Error establishing a database connection</h1> 1159 1166 <p>This either means that the username and password information in your <code>wp-config.php</code> file is incorrect or we can't contact the database server at <code>%s</code>. This could mean your host's database server is down.</p>