WordPress.org

Making WordPress.org

Opened 9 months ago

Last modified 6 weeks ago

#2646 new enhancement

SVG icons should be used in preference to 128/256 images

Reported by: dd32 Owned by:
Milestone: Plugin Directory v3.0 Priority: normal
Component: Plugin Directory Keywords: needs-patch
Cc:

Description

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 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>}}}

Change History (2)

#2 @tellyworth
6 weeks ago

  • Keywords needs-patch added
  • Milestone changed from Plugin Directory v3 - Future to Plugin Directory v3.0
Note: See TracTickets for help on using tickets.