[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 12:00:56 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 wildworks):
@yagniksangani Thank you for the detailed exploration! I realized the
underlying problem.
=== Steps to reproduce
- Install and activate [https://wordpress.org/plugins/envira-gallery-lite/
Envira Photo Gallery] plugin
- Access Envira Gallery > Add New Gallery
- Just click the Puglish button
- Nothing happens and your browser console logs the message `An invalid
form control with name='async-upload' is not focusable. `
I think this problem occurs when the `media_upload_form()` function is
executed within a form element.
In fact, Envira Photo Gallery plugin executes such code:
https://github.com/gnanet/envira-gallery-
lite/blob/c41a5348511c0b39f57719d2e62ac69beb9a5007/includes/admin/partials
/metabox-gallery-type.php#L32
This issue can affect many consumers, so I think it should be fixed in 6.9
if possible, or at least 6.9.1.
cc @ocean90 @joedolson @mukesh27
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64305#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list