#1714 closed defect (bug) (fixed)
Plugin API should include assets for available updates
Reported by: | swissspidy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | API | Keywords: | |
Cc: |
Description
As mentioned in #1579 and #wp30186 it would be great if the plugin updates API would include the URLs to a plugin's icon and perhaps the banner as well.
This would pave the way for an improved plugin list table and list of available updates.
Ideally, we could roll this out together with Shiny Updates V2, where we already show icons for all other available updates, just not for plugins.
Change History (7)
This ticket was mentioned in Slack in #feature-shinyupdates by swissspidy. View the logs.
8 years ago
This ticket was mentioned in Slack in #meta by swissspidy. View the logs.
8 years ago
#4
@
7 years ago
@pento It doesn't look like the API returns default icons (the randomized SVG ones) when there is none.
#5
@
7 years ago
The SVG is generated inline in the w.org HTML, there isn't an image URL to refer to.
If there isn't an icon provided in the API response, the app (including WordPress) should use a local icon.
The update API now returns arrays of icons and banners, when available.
(As of ~15 minutes from this post, when the cache expires.)