Commit 38ab4e4
committed
Media: Remove required attribute from media uploader file input field.
This commit removes the required attribute from the file input element in the media uploader to avoid browser form validation issues and ensure that the form element is submitted correctly.
Reviewed by cbravobernal.
Merges [61320] to the 6.9 branch.
Props adamsilverstein, ellatrix, desrosj, huzaifaalmesbah, immeet94, krupajnanda, madhavishah01, parthvataliya, ravichudasama01, sabernhardt, wildworks, yagniksangani.
Fixes #64305.
git-svn-id: https://develop.svn.wordpress.org/branches/6.9@61333 602fd350-edb4-49c9-b593-d223f7449a821 parent 88fa3d9 commit 38ab4e4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2285 | 2285 | | |
2286 | 2286 | | |
2287 | 2287 | | |
2288 | | - | |
| 2288 | + | |
2289 | 2289 | | |
2290 | 2290 | | |
2291 | 2291 | | |
| |||
0 commit comments