You are reading a single comment by @pascalo and its replies.
Click here to read the full conversation.
-
Nope... the max 30MB is enforced, but "5 files total" is advisory as too many files per comment can lead to too many files on a page of 25 comments, which then results in a crappy slow loading page.
If someone does blow past the 5 files and they're large files, they're likely to hit the max_upload limit which is enforced and kicks in at 100MB of upload in a single go.
Hah.
Well...
It's an array of files, but you don't have to provide them all at once in the "upload a file".
Originally (6+ years ago), you could select one, then select another, then another... up to 5 files.
And whilst the file upload did break altogether in FF... it also broke in Chrome and all browsers over time such that the array was no longer appendable, it was clobbered.
So the experience on mobile is still limited as not all mobiles offer multi-select by default, and that's what this solved by the website doing it :D
The drag and drop we purposefully disabled as that never played nice with mobile (hence the commented out lines)... but the array append did originally work.