Changeset 12901
- Timestamp:
- 01/29/2010 07:16:07 PM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-load.php
r12885 r12901 31 31 if ( $current_site->site_name == false ) 32 32 $current_site->site_name = ucfirst( $current_site->domain ); 33 34 $wpdb->hide_errors();35 33 } 36 34 … … 67 65 function ms_site_check() { 68 66 global $wpdb, $current_blog; 69 70 $wpdb->show_errors();71 67 72 68 if ( '1' == $current_blog->deleted ) { … … 130 126 return $current_site; 131 127 132 $wpdb->suppress_errors();133 128 $sites = $wpdb->get_results( "SELECT * FROM $wpdb->site" ); // usually only one site 134 129 if ( count( $sites ) == 1 ) { -
trunk/wp-includes/ms-settings.php
r12896 r12901 116 116 } 117 117 118 $wpdb->suppress_errors( false );119 120 118 $wpdb->blogid = $current_blog->blog_id; 121 119 $wpdb->siteid = $current_blog->site_id;
Note: See TracChangeset
for help on using the changeset viewer.