Make WordPress Core

Ticket #29692: 29692.2.diff

File 29692.2.diff, 484 bytes (added by jeremyfelt, 10 years ago)
  • src/wp-includes/ms-functions.php

     
    13791379        make_db_current_silent( 'blog' );
    13801380        populate_options();
    13811381        populate_roles();
    1382         $wp_roles->_init();
     1382
     1383    // populate_roles() clears previous role definitions so we start over.
     1384        $wp_roles = new WP_Roles();
    13831385
    13841386        $url = untrailingslashit( $url );
    13851387