WordPress.org

Make WordPress Core

Ticket #29692: 29692.diff

File 29692.diff, 428 bytes (added by jeremyfelt, 7 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        unset( $wp_roles );
     1383        $wp_roles = new WP_Roles();
    13831384
    13841385        $url = untrailingslashit( $url );
    13851386