Ticket #25703: wp-db.php.patch
File wp-db.php.patch, 541 bytes (added by , 11 years ago) |
---|
-
wp-includes/wp-db.php
1145 1145 } 1146 1146 1147 1147 if ( !$this->dbh ) { 1148 // Load custom DB error template, if present. 1149 if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) { 1150 require_once( WP_CONTENT_DIR . '/db-error.php' ); 1151 die(); 1152 } 1148 1153 wp_load_translations_early(); 1149 1154 $this->bail( sprintf( __( " 1150 1155 <h1>Error establishing a database connection</h1>