mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Always include wp-db.php. Prevents a conditional include and allows db dropins to cleanly extend the wpdb class. Move require_wp_db() to load.php for consistency with bootloader helpers. fixes #14508.
git-svn-id: https://develop.svn.wordpress.org/trunk@15638 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ require( ABSPATH . WPINC . '/compat.php' );
|
||||
require( ABSPATH . WPINC . '/functions.php' );
|
||||
require( ABSPATH . WPINC . '/classes.php' );
|
||||
|
||||
// Include the wpdb class, or a db.php database drop-in if present.
|
||||
// Include the wpdb class and, if present, a db.php database drop-in.
|
||||
require_wp_db();
|
||||
|
||||
// Set the database table prefix and the format specifiers for database table columns.
|
||||
|
||||
Reference in New Issue
Block a user