Always require wp-db.php
|Reported by:||nacin||Owned by:||westi|
Let's change how require_wp_db() works for performance reasons. Always include wp-db.php, then include db.php if it exists, then instantiate wpdb directly in wp-settings.php as we currently do at the end of wp-db.php. This logic would all take place in wp-settings.php and we can do away with require_wp_db() in the process.