Yahnis Elsts
|
585f60d91c
|
Add the ability to show a plugin icon on the "Dashboard -> Updates" page.
Usage: Add the following entry to your JSON file:
"icons" : {
"1x" : "http://example.com/assets/icon-128x128.png",
"2x" : "http://example.com/assets/icon-256x256.png",
"svg": "http://example.com/assets/icon.svg"
}
All of the keys are optional. They should point to different versions of the same icon:
- "1x": a 128x128 px image.
- "2x": a 256x256 px image for HiDPI screens.
- "svg": a vector version of the icon.
See WordPress.org for more information on supported icon sizes and image formats:
https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/#plugin-icons
Suggested in #153
|
2017-11-21 22:11:18 +02:00 |