two-factor icon indicating copy to clipboard operation
two-factor copied to clipboard

Add support for WP.org playground (plugin demo)

Open kasparsd opened this issue 1 year ago • 0 comments

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

kasparsd avatar Jan 13 '25 12:01 kasparsd