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 support for WP.org playground (plugin demo) #661

Open
kasparsd opened this issue Jan 13, 2025 · 0 comments
Open

Add support for WP.org playground (plugin demo) #661

kasparsd opened this issue Jan 13, 2025 · 0 comments
Milestone

Comments

@kasparsd
Copy link
Collaborator

Is your enhancement related to a problem? Please describe.

See: https://developer.wordpress.org/plugins/wordpress-org/previews-and-blueprints/

Note that the JSON schema in the documentation is out of date. Use https://playground.wordpress.net/blueprint-schema.json for up-to-date reference.

Proposed Solution

Here is the basic JSON schema:

{
	"$schema": "https://playground.wordpress.net/blueprint-schema.json",
	"landingPage": "/wp-admin/profile.php",
	"preferredVersions": {
		"php": "7.4",
		"wp": "latest"
	},
	"steps": [
		{
			"step": "login"
		},
		{
			"step": "installPlugin",
			"pluginData": {
				"resource": "wordpress.org/plugins",
				"slug": "two-factor"
			},
			"options": {
				"activate": true
			}
		}
	]
}

Designs

No response

Describe alternatives you've considered

No response

Please confirm that you have searched existing issues in this repository.

Yes

@jeffpaul jeffpaul added this to the 0.12.0 milestone Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants