Opened 6 months ago
Closed 6 months ago
#22596 closed defect (bug) (fixed)
Only show editor button when it's an image
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
Imagick supports a bunch of mime types to be edited but WordPress itself doesn't allow that.
So when you upload a PDF you can press the 'Edit Image' button but get an error instead: "Image data does not exist. Please re-upload the image.".
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.

Add wp_attachment_is_image() checks