[wp-meta] [Making WordPress.org] #2646: SVG icons should be used in preference to 128/256 images
Making WordPress.org
noreply at wordpress.org
Thu Mar 30 04:20:08 UTC 2017
#2646: SVG icons should be used in preference to 128/256 images
------------------------------+------------------------------------------
Reporter: dd32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Plugin Directory v3 - Future
Component: Plugin Directory | Keywords:
------------------------------+------------------------------------------
It appears that the plugin directory uses the 128/256 images in preference
to the SVG icons if they exist.
This isn't a regression from the previous plugin directory, the CSS
generated for [https://wordpress.org/plugins/easy-widget-columns/ an
example plugin icon] is the following:
{{{
<style type='text/css'>
#plugin-icon-easy-widget-columns { width:128px; height:128px; background-
image: url(//ps.w.org/easy-widget-columns/assets/icon-
128x128.png?rev=1612266); background-size:128px 128px; }
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) { #plugin-
icon-easy-widget-columns { background-image: url(//ps.w.org/easy-widget-
columns/assets/icon-256x256.png?rev=1612266); } }
</style>}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2646>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list