Make WordPress Core


Ignore:
Timestamp:
07/03/2014 07:56:37 PM (11 years ago)
Author:
nacin
Message:

Simplify the setup-config.php UI flow and load process.

When no configuration file is detected, we now redirect to setup-config.php. This process now uses the WordPress bootstrap, rather than a set of fragile hacks.

fixes #28740.

File:
1 edited

Legend:

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

    r28814 r28978  
    604604        $this->dbname = $dbname;
    605605        $this->dbhost = $dbhost;
     606
     607        // wp-config.php creation will manually connect when ready.
     608        if ( defined( 'WP_SETUP_CONFIG' ) ) {
     609            return;
     610        }
    606611
    607612        $this->db_connect();
Note: See TracChangeset for help on using the changeset viewer.