Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a notice or flag to patterns that have a minimum WordPress version set #588

Open
ryelle opened this issue Jul 5, 2023 · 0 comments
Open
Labels
[Status] Needs Design [Type] Discussion Proposed idea, needs input from others before actionable

Comments

@ryelle
Copy link
Contributor

ryelle commented Jul 5, 2023

As of #536, patterns can have a wpop_wp_version meta value which indicates the lowest WordPress version supported. For example, this Fullscreen fixed cover pattern uses a block that is not supported in WordPress 6.2, so the value has been set to 6.3.

This works for API requests from another site, as they'll use the version supplied (see #536). But users browsing the directory don't get this information. A banner or some other indicator could be added to let the user know (hacked together proposal, would love a real design/writer 🙂):

Screenshot 2023-07-05 at 5 28 43 PM

Maybe it should only be added this if the wpop_wp_version is a pre-release version?

@ryelle ryelle added [Type] Discussion Proposed idea, needs input from others before actionable [Status] Needs Design labels Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs Design [Type] Discussion Proposed idea, needs input from others before actionable
Projects
None yet
Development

No branches or pull requests

1 participant