[wp-trac] [WordPress Trac] #36525: Replace a PNG image to SVG in Emoji

WordPress Trac noreply at wordpress.org
Sun Apr 24 05:29:58 UTC 2016


#36525: Replace a PNG image to SVG in Emoji
-------------------------+----------------------------
 Reporter:  webliberty   |       Owner:  peterwilsoncc
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  4.6
Component:  Emoji        |     Version:  4.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+----------------------------

Comment (by peterwilsoncc):

 I'm indecisive so two possibilities attached.

 In [attachment:36525.a.diff]:

 The settings include both a bitmap and a vector CDN. The JavaScript
 detects if SVG is supported and uses the vectorCDN if it is.

 In [attachment:36525.b.diff]:

 Paths for the SVG and bitmaps are added to the settings, if the default
 CDN is used the paths are added to the CDN's base URL.

 If the CDN url is filtered, the paths are set to null for the developer to
 set explicitly. This is for backcompat, we can't assume a developer using
 their own CDN has included both bitmap and SVG images.

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


More information about the wp-trac mailing list