Skip to content

Commit 8e0ac04

Browse files
committed
Revert "Use default value when DB_NAME constant is not defined"
This reverts commit f8894c7.
1 parent c378fb0 commit 8e0ac04

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

constants.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,6 @@
5252
}
5353
}
5454

55-
/**
56-
* The DB_NAME constant is required by the SQLite driver.
57-
*
58-
* When DB_NAME is not defined, let's use a default value that corresponds to
59-
* the default value of the constant in "wp-config-sample.php" and in Studio.
60-
*/
61-
if ( ! defined( 'DB_NAME' ) ) {
62-
define( 'DB_NAME', 'database_name_here' );
63-
}
64-
6555
// Allow enabling the SQLite AST driver via environment variable.
6656
if ( ! defined( 'WP_SQLITE_AST_DRIVER' ) && isset( $_ENV['WP_SQLITE_AST_DRIVER'] ) && 'true' === $_ENV['WP_SQLITE_AST_DRIVER'] ) {
6757
define( 'WP_SQLITE_AST_DRIVER', true );

0 commit comments

Comments
 (0)