[wp-trac] [WordPress Trac] #48710: Media uploader does not restrict file upload `accepts` parameters based on current context
WordPress Trac
noreply at wordpress.org
Thu Feb 20 03:06:37 UTC 2025
#48710: Media uploader does not restrict file upload `accepts` parameters based on
current context
------------------------------------------+----------------------------
Reporter: worddean | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.8
Component: Media | Version:
Severity: normal | Resolution:
Keywords: needs-patch has-testing-info | Focuses: accessibility
------------------------------------------+----------------------------
Comment (by inesmedem):
I was able to reproduce this issue on my local WordPress installation.
It’s unclear what the expected behavior should be. If the PDF is not
displaying on the front end, the user should receive a clear error message
or warning, along with guidance on how to correctly upload and use PDFs.
Alternatively, if PDFs are not meant to be uploaded through the editor in
this context, the option to do so should be restricted to prevent
confusion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48710#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list