mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@28978 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -604,6 +604,11 @@ class wpdb {
|
||||
$this->dbname = $dbname;
|
||||
$this->dbhost = $dbhost;
|
||||
|
||||
// wp-config.php creation will manually connect when ready.
|
||||
if ( defined( 'WP_SETUP_CONFIG' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->db_connect();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user