[wp-trac] [WordPress Trac] #29521: SVG upload via theme customizer

WordPress Trac noreply at wordpress.org
Thu Sep 4 22:54:57 UTC 2014


#29521: SVG upload via theme customizer
--------------------------+------------------------------
 Reporter:  jimmy.smutek  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> I'm building a theme and thought it would be nice to allow the option to
> use an svg for a logo. I added svg to the allowed mime types and am able
> to upload svg via the media library, but not via the theme customizer.
>
> When trying to upload an svg via the media uploader the file is grayed
> out, and non selectable. (see screen shot)
>
> I did skim ticket 2249 (Customizer Uploader doesn't restrict by file
> type) but It seems that svg is a media type that should be allowed in the
> theme customizer.
>
> Sorry if this doesn't belong here - I brought this up at my local
> WordPress meet up last week and it was suggested that I submit a ticket
> here.

New description:

 I'm building a theme and thought it would be nice to allow the option to
 use an svg for a logo. I added svg to the allowed mime types and am able
 to upload svg via the media library, but not via the theme customizer.

 When trying to upload an svg via the media uploader the file is grayed
 out, and non selectable. (see screen shot)

 I did skim ticket 22149 (Customizer Uploader doesn't restrict by file
 type) but It seems that svg is a media type that should be allowed in the
 theme customizer.

 Sorry if this doesn't belong here - I brought this up at my local
 WordPress meet up last week and it was suggested that I submit a ticket
 here.

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29521#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list