Changeset 6896

Show
Ignore:
Timestamp:
02/18/08 17:33:40 (9 months ago)
Author:
ryan
Message:

Declare wpdb and wp_queries as global. Props jhodgdon. see #5860

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/includes/schema.php

    r6851 r6896  
    33 
    44$charset_collate = ''; 
     5 
     6// Declare these as global in case schema.php is included from a function. 
     7global $wpdb, $wp_queries; 
    58 
    69if ( $wpdb->supports_collation() ) {