WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/13/2010 10:35:11 PM (10 years ago)
Author:
ryan
Message:

Move blogs table related functions to blogs.php. Include it before ms-settings.php so that caching API can be used instead of direct queries. see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r13065 r13125  
    7575
    7676// Initialize multisite if enabled.
    77 if ( is_multisite() )
     77if ( is_multisite() ) {
     78    require( ABSPATH . WPINC . '/blogs.php' );
    7879    require( ABSPATH . WPINC . '/ms-settings.php' );
     80}
    7981
    8082// Load early WordPress files.
Note: See TracChangeset for help on using the changeset viewer.