Make WordPress Core

Changeset 13386


Ignore:
Timestamp:
02/24/2010 09:07:23 PM (15 years ago)
Author:
wpmuguru
Message:

update wpdb blogid using setter, See #12362

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-settings.php

    r13254 r13386  
    116116}
    117117
    118 $wpdb->blogid = $current_blog->blog_id;
    119 $wpdb->siteid = $current_blog->site_id;
    120118$wpdb->set_prefix( $table_prefix ); // set up blog tables
     119$wpdb->set_blog_id( $current_blog->blog_id, $current_blog->site_id );
    121120$table_prefix = $wpdb->get_blog_prefix();
    122121
Note: See TracChangeset for help on using the changeset viewer.