diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 97d4697536..9820ea0d55 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -1048,12 +1048,7 @@ class wpdb {

If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

"/*/WP_I18N_DB_CONN_ERROR*/, $this->dbhost ), 'db_connect_fail' ); - // If show errors is disabled then we need to die anyway as we don't have a working DB connection - // unless we're trying to test the initial connection, in which case setup-config.php/install.php will handle. - if ( defined( 'WP_SETUP_CONFIG' ) || defined( 'WP_INSTALLING' ) ) - return; - - die(); + return; } $this->set_charset( $this->dbh );