[wp-meta] [Making WordPress.org] #3213: Add: Plugin Icon URL API / service
Making WordPress.org
noreply at wordpress.org
Sat Oct 21 12:12:14 UTC 2017
#3213: Add: Plugin Icon URL API / service
-------------------------+-----------------------
Reporter: enej | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: API | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by dd32):
As a side-mention, the auto-generated plugin icons are inline/base64 SVG
and are not available as a URL anywhere (ie. there isn't a "static
"/cached-php-response SVG available)
I guess the `default_icon` parameter provided in the ticket here is to
somewhat address that, however in reality it shouldn't be needed IMHO? Or
is that included for when a plugin slug which doesn't exist is passed.
For a reference as to what I'm talking about, see the icons here:
https://wordpress.org/plugins/author/wordpressdotorg/
In the
[https://api.wordpress.org/plugins/info/1.1/?action=plugin_information&request[slug
]=admin-color-schemer&request[fields]=icons API we provide it as a large
`data:` uri blob] which should work the same in most places, however might
be an issue for usage within mobile apps/etc.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3213#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list