Ticket #16640: 16640-fix.diff
| File 16640-fix.diff, 729 bytes (added by westi, 2 years ago) |
|---|
-
wp-includes/wp-db.php
1051 1051 "/*/WP_I18N_DB_CONN_ERROR*/, $this->dbhost ), 'db_connect_fail' ); 1052 1052 1053 1053 // If show errors is disabled then we need to die anyway as we don't have a working DB connection 1054 // unless we're trying to test the initial connection, in which case setup-config.php will handle.1055 if ( defined( 'WP_SETUP_CONFIG' ) )1054 // unless we're trying to test the initial connection, in which case setup-config.php/install.php will handle. 1055 if ( defined( 'WP_SETUP_CONFIG' ) || defined( 'WP_INSTALLING' ) ) 1056 1056 return; 1057 1057 1058 1058 die();