[wp-trac] [WordPress Trac] #62086: Add Filter for Custom Form Attributes in New Site Creation (/wp-admin/network/site-new.php)

WordPress Trac noreply at wordpress.org
Mon Jun 30 19:00:25 UTC 2025


#62086: Add Filter for Custom Form Attributes in New Site Creation (/wp-
admin/network/site-new.php)
----------------------------------+----------------------------------------
 Reporter:  sakibmoon             |       Owner:  realloc
     Type:  enhancement           |      Status:  closed
 Priority:  normal                |   Milestone:  6.9
Component:  Networks and Sites    |     Version:  3.0
 Severity:  normal                |  Resolution:  fixed
 Keywords:  has-patch has-test-   |     Focuses:  administration, multisite
  info                            |
----------------------------------+----------------------------------------
Changes (by johnjamesjacoby):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60398" 60398]:
 {{{
 #!CommitTicketReference repository="" revision="60398"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62086#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list