Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

    r17547 r17079  
    10511051"/*/WP_I18N_DB_CONN_ERROR*/, $this->dbhost ), 'db_connect_fail' );
    10521052
    1053             return;
     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' ) )
     1056                return;
     1057
     1058            die();
    10541059        }
    10551060
Note: See TracChangeset for help on using the changeset viewer.