diff --git a/src/wp-settings.php b/src/wp-settings.php index ae7a1735ea..d8c818bf5e 100644 --- a/src/wp-settings.php +++ b/src/wp-settings.php @@ -99,6 +99,7 @@ require( ABSPATH . WPINC . '/class-wp-error.php' ); require( ABSPATH . WPINC . '/pomo/mo.php' ); // Include the wpdb class and, if present, a db.php database drop-in. +global $wpdb; require_wp_db(); // Set the database table prefix and the format specifiers for database table columns.