[wp-trac] [WordPress Trac] #26256: SVG images get width and height attributes with values of 1
WordPress Trac
noreply at wordpress.org
Fri Oct 3 19:07:19 UTC 2014
#26256: SVG images get width and height attributes with values of 1
-------------------------------------+------------------------------
Reporter: lippe | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29832"]:
{{{
#!CommitTicketReference repository="" revision="29832"
In the admin, give media list table icons `auto` for `width` and `height`.
In the post thumbnail metabox, apply `width: auto`.
If someone turns on support SVG files, this will allow them to show up.
Props arippberger for an initial patch.
Fixes #26256.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26256#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list