[wp-trac] [WordPress Trac] #31050: Better PDF Upload Management
WordPress Trac
noreply at wordpress.org
Sun Feb 7 21:17:20 UTC 2016
#31050: Better PDF Upload Management
------------------------------------+-----------------------------
Reporter: celloexpressions | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by markoheijnen):
Information storage was incorrect, fixed that and updated the previous
code to work with that. The image of a PDF will be displayed on the
attachment page. I'm not that happy with the quality but no clue how to
fix that.
This one is ready to be reviewed.
Open questions:
- What to do about Video/Audio image?
- Which mimetypes will we support for this? Currently application/pdf and
video/avi (haven't tested that one yet)
- Is `attachment_fallback_mimetypes` the best filter name? would love to
hear alternatives. Maybe move the logic to a function or extensions in
combination with wp_get_video_extensions().
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31050#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list