Remove Photon srcset from Plugin Directory screenshots#693
Conversation
Remove the Photon srcset for Plugin Directory screenshots so replaced assets keep using the ps.w.org URL with its revision query. Keep the Gallery block, lightbox, layout detection, captions, and reveal behavior unchanged.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
I also noticed this on a few plugins. Added info to Slack:
https://wordpress.slack.com/archives/C02QB8GMM/p1784192370772129 |
This removes the Photon based srcset for Plugin Directory screenshot thumbnails and keeps the images on ps.w.org.
The current src already points to ps.w.org with the SVN revision cachebuster, but production srcset can still route thumbnail candidates through i0.wp.com. That adds a second CDN cache layer and can make replaced screenshots appear stale for some users.
This keeps the existing Gallery block output, lightbox behavior, captions, layout detection, dimensions, and reveal behavior unchanged.