-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathblueprint-hosted.json
More file actions
39 lines (39 loc) · 1.33 KB
/
Copy pathblueprint-hosted.json
File metadata and controls
39 lines (39 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"meta": {
"title": "Maestro — live demo",
"author": "dknauss",
"description": "In-place admin menu editor, with User Switching and test users (editor, author, contributor, subscriber) for trying per-role menu visibility."
},
"landingPage": "/wp-admin/index.php?maestro_edit=1",
"preferredVersions": { "php": "8.3", "wp": "latest" },
"login": true,
"plugins": [ "user-switching" ],
"steps": [
{
"step": "installPlugin",
"pluginData": {
"resource": "url",
"url": "https://wordpress-playground-cors-proxy.net/?https://github.com/dknauss/Maestro/releases/download/playground-demo/maestro-menu-editor.zip"
},
"options": { "activate": true, "targetFolderName": "maestro-menu-editor" },
"progress": { "caption": "Installing Maestro" }
},
{
"step": "wp-cli",
"command": "wp user create editor editor@example.com --role=editor --user_pass=password"
},
{
"step": "wp-cli",
"command": "wp user create author author@example.com --role=author --user_pass=password"
},
{
"step": "wp-cli",
"command": "wp user create contributor contributor@example.com --role=contributor --user_pass=password"
},
{
"step": "wp-cli",
"command": "wp user create subscriber subscriber@example.com --role=subscriber --user_pass=password"
}
]
}