Commit 6eaf97de25 for wordpress.org

commit 6eaf97de2505f1927c3f3d3b53d36ff5303839de
Author: joedolson <joedolson@git.wordpress.org>
Date:   Tue Sep 8 21:31:47 2026 +0000

    Multisite: Restore missing user reassignment dropdown when deleting user.

    Explicitly pass the `blog_id` attribute to `wp_dropdown_users` in `confirm_delete_users()` so that the dropdown renders the list of users appropriate to the current site, rather than attempting to fallback to the main site despite the limits set by the `include` parameter, which limited to members of the subsite. This resulted in an empty list in any case where there was no overlap between members of the current subset and members of the primary network site.

    Props mgyura, johnbillion, adamsilverstein, joedolson.
    Fixes #66012.
    Built from https://develop.svn.wordpress.org/trunk@63544


    git-svn-id: http://core.svn.wordpress.org/trunk@62720 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php
index 56e1711365..155170aaf4 100644
--- a/wp-admin/includes/ms.php
+++ b/wp-admin/includes/ms.php
@@ -1003,6 +1003,7 @@ function confirm_delete_users( $users ) {
 												'include' => $blog_users,
 												'show'    => 'display_name_with_login',
 												'id'      => "reassign_user_{$details->userblog_id}_{$delete_user->ID}",
+												'blog_id' => $details->userblog_id,
 											)
 										);
 										?>
diff --git a/wp-includes/version.php b/wp-includes/version.php
index f7d50e0cc0..965db9dfe8 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-alpha-63543';
+$wp_version = '7.2-alpha-63544';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.