Open timwiel opened 3 years ago
That doesn't seem like the best idea. It looks like it combines the screenshots from the currently installed version with screenshot descriptions from the latest version. There's no guarantee that these things will match up correctly. Also, the screenshots would be shown in the "view details" pop-up, which is supposed to show information about the latest version, not about the installed version.
Using the locally stored icons and banners is probably fine because those parts of the plugin are very unlikely to change between versions. However, screenshots might not always stay the same. I think that if you want to show them, you would really have to retrieve them from the repository somehow. I'm not sure how feasible that is - for example, some hosts might have issues with hotlinking images from private repositories.
Just like the icons and banners we can use screenshots from the assets directory
However the implmention needs to be slightly different as the screenshot captions are extracted from the readme.txt file and the screenshot files from the assets directory.
WP Standards taken from