diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index df65938923..b0cd44ce8d 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -1352,7 +1352,9 @@ function install_blog( $blog_id, $blog_title = '' ) { make_db_current_silent( 'blog' ); populate_options(); populate_roles(); - $wp_roles->_init(); + + // populate_roles() clears previous role definitions so we start over. + $wp_roles = new WP_Roles(); $url = untrailingslashit( $url ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 0bdcce667f..788be215cc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30241'; +$wp_version = '4.1-alpha-30242'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.