Only show editor button when it's an image
|Reported by:||markoheijnen||Owned by:||ryan|
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.".