WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/20/2010 07:13:47 PM (9 years ago)
Author:
nacin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r14345 r15638  
    6868require( ABSPATH . WPINC . '/classes.php' );
    6969
    70 // Include the wpdb class, or a db.php database drop-in if present.
     70// Include the wpdb class and, if present, a db.php database drop-in.
    7171require_wp_db();
    7272
Note: See TracChangeset for help on using the changeset viewer.