diff --git a/wp-admin/my-sites.php b/wp-admin/my-sites.php index 54f5bc4849..2478b39b12 100644 --- a/wp-admin/my-sites.php +++ b/wp-admin/my-sites.php @@ -23,7 +23,7 @@ $updated = false; if ( 'updateblogsettings' == $action && isset( $_POST['primary_blog'] ) ) { check_admin_referer( 'update-my-sites' ); - $blog = get_blog_details( (int) $_POST['primary_blog'] ); + $blog = get_site( (int) $_POST['primary_blog'] ); if ( $blog && isset( $blog->domain ) ) { update_user_option( $current_user->ID, 'primary_blog', (int) $_POST['primary_blog'], true ); $updated = true; diff --git a/wp-includes/version.php b/wp-includes/version.php index 30b8d795c0..9dc62fe7a1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38822'; +$wp_version = '4.7-alpha-38823'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.