Skip to content

Remove Photon srcset from Plugin Directory screenshots#693

Open
dan-zakirov wants to merge 1 commit into
WordPress:trunkfrom
dan-zakirov:dan/plugin-screenshots-photon-cache
Open

Remove Photon srcset from Plugin Directory screenshots#693
dan-zakirov wants to merge 1 commit into
WordPress:trunkfrom
dan-zakirov:dan/plugin-screenshots-photon-cache

Conversation

@dan-zakirov

Copy link
Copy Markdown

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.

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.
@github-actions

Copy link
Copy Markdown

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 props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props alexodiy.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant