[wp-trac] [WordPress Trac] #64305: Regression: Hidden async-upload input marked required in WP 6.9 RC3 prevents post publish

WordPress Trac noreply at wordpress.org
Wed Nov 26 11:45:13 UTC 2025


#64305: Regression: Hidden async-upload input marked required in WP 6.9 RC3
prevents post publish
--------------------------+------------------------------------------------
 Reporter:                |       Owner:  (none)
  yagniksangani           |
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.9
Component:  Posts, Post   |     Version:  trunk
  Types                   |
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, accessibility, administration
--------------------------+------------------------------------------------

Comment (by yagniksangani):

 @adamsilverstein @madhavishah01 @parthvataliya @wildworks @huzaifaalmesbah

 To reproduce the issue easily, please install any of the following plugins
 and try creating a gallery. When you click **Publish, Save, or Update,**
 the buttons do not work. The browser console also shows related errors.

 Try with one of these plugins to reproduce the issue:
 https://wordpress.org/plugins/envira-gallery-lite/ OR
 https://wordpress.org/plugins/soliloquy-lite/

 This issue occurs on **WordPress 6.9 RC3**, but everything works correctly
 on **WordPress 6.8.3**.

 It appears to be happening because, in **WordPress 6.9 RC3**, the core
 code adds required to the file upload input here:


 {{{
 <input type="file" name="async-upload" id="async-upload" required>
 }}}

 This required attribute was not present in **6.8.3**, and when added, it
 blocks publishing/updating if no file is uploaded, causing the buttons to
 fail.

 Attached screenshots:
 env-issue-ss.png​
 sol-issue-ss.png​

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


More information about the wp-trac mailing list