Commit 8fa2f85596 for wordpress.org

commit 8fa2f85596d72d226c76e275c84e7625d0ccb37f
Author: johnjamesjacoby <johnjamesjacoby@git.wordpress.org>
Date:   Mon Jun 30 19:02:25 2025 +0000

    Networks and Sites: Add support for file/upload type inputs on the "New Site" screen.

    This change allows plugins to add files when creating sites via the network-admin "New Site" form.

    * Adds `enctype="multipart/form-data"` to the form in `wp-admin/network/site-new.php`.
    * Supports `input type="file"` fields in this form (via the `network_site_new_form` action).

    Props johnjamesjacoby, sakibmoon, sirlouen, realloc.

    Fixes #62086.
    Built from https://develop.svn.wordpress.org/trunk@60398


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

diff --git a/wp-admin/network/site-new.php b/wp-admin/network/site-new.php
index a3b0919155..d1b0576113 100644
--- a/wp-admin/network/site-new.php
+++ b/wp-admin/network/site-new.php
@@ -204,7 +204,7 @@ if ( ! empty( $messages ) ) {
 }
 ?>
 <p><?php echo wp_required_field_message(); ?></p>
-<form method="post" action="<?php echo esc_url( network_admin_url( 'site-new.php?action=add-site' ) ); ?>" novalidate="novalidate">
+<form method="post" enctype="multipart/form-data" action="<?php echo esc_url( network_admin_url( 'site-new.php?action=add-site' ) ); ?>" novalidate="novalidate">
 <?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ); ?>
 	<table class="form-table" role="presentation">
 		<tr class="form-field form-required">
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 4ecf00108b..935d131183 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '6.9-alpha-60397';
+$wp_version = '6.9-alpha-60398';

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