Skip to content

Commit 6079189

Browse files
committed
Add the WP_ prefix to the WP_SQLITE_DB_NAME constant.
1 parent 8f5de99 commit 6079189

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wp-includes/sqlite/db.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
*
6565
* TODO: For version 3.0, enforce the DB_NAME constant and remove the fallback.
6666
*/
67-
if ( defined( 'SQLITE_DB_NAME' ) && '' !== SQLITE_DB_NAME ) {
68-
$db_name = SQLITE_DB_NAME;
67+
if ( defined( 'WP_SQLITE_DB_NAME' ) && '' !== WP_SQLITE_DB_NAME ) {
68+
$db_name = WP_SQLITE_DB_NAME;
6969
} elseif ( defined( 'DB_NAME' ) && '' !== DB_NAME ) {
7070
$db_name = DB_NAME;
7171
} else {

0 commit comments

Comments
 (0)