#26460 closed defect (bug) (duplicate)
Featured image not showing when using SVG
| Reported by: | Swellfire | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 3.7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
After enabling SVG
function cc_mime_types( $mimes ){
$mimes['svg'] = 'image/svg+xml';
return $mimes;
}
add_filter( 'upload_mimes', 'cc_mime_types' );
and setting a featured image to a SVG, the image does not show up in the backend. Worked in 3.6
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I'm curious how this could have worked for 3.6 since it will not get the height/width of an image. And this is something really important. If it did worked in 3.6 then I tend to say it was a bug in 3.6.
Edit: I will look into it and see it I can reproduce this in 3.6