Skip to content

Commit cbae855

Browse files
author
deployment_bot
committed
Reindex Blueprints
1 parent 49d653f commit cbae855

File tree

5 files changed

+101
-104
lines changed

5 files changed

+101
-104
lines changed
+21-21
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3-
"meta": {
4-
"title": "Display Admin Notice ",
5-
"description": "Blueprint to add a tiny mu-plugin and display an admin notice",
6-
"author": "bph",
7-
"categories": ["Admin", "notices"]
8-
},
9-
"landingPage": "/wp-admin/plugins.php",
10-
"steps":[
11-
{
12-
"step": "login",
13-
"username": "admin",
14-
"password": "password"
15-
},
16-
{
17-
"step": "writeFile",
18-
"path": "/wordpress/wp-content/mu-plugins/bgnightly-notice.php",
19-
"data": "<?php add_action('admin_notices', function() { echo '<div class=\"notice notice-info is-dismissible\"><p>Hello from Playground.</p></div>'; });"
20-
}
21-
]
22-
}
2+
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3+
"meta": {
4+
"title": "Display Admin Notice ",
5+
"description": "Blueprint to add a tiny mu-plugin and display an admin notice",
6+
"author": "bph",
7+
"categories": ["Admin", "notices"]
8+
},
9+
"landingPage": "/wp-admin/plugins.php",
10+
"steps": [
11+
{
12+
"step": "login",
13+
"username": "admin",
14+
"password": "password"
15+
},
16+
{
17+
"step": "writeFile",
18+
"path": "/wordpress/wp-content/mu-plugins/bgnightly-notice.php",
19+
"data": "<?php add_action('admin_notices', function() { echo '<div class=\"notice notice-info is-dismissible\"><p>Hello from Playground.</p></div>'; });"
20+
}
21+
]
22+
}
+30-30
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
2-
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3-
"meta": {
4-
"title": "Custom Post Type: Books",
5-
"description": "Blueprint that added a custom post type to playground",
6-
"author": "bph",
7-
"categories": ["Content", "CPT"]
8-
},
9-
"landingPage": "/wp-admin/",
10-
"steps":[
11-
{
12-
"step": "login"
13-
},
14-
{
15-
"step": "mkdir",
16-
"path": "/wordpress/wp-content/plugins/books"
17-
},
18-
{
19-
"step": "writeFile",
20-
"path": "/wordpress/wp-content/plugins/books/books.php",
21-
"data": {
22-
"resource": "url",
23-
"url": "https://raw.githubusercontent.com/adamziel/blueprints/trunk/blueprints/custom-post/books.php"
24-
}
25-
},
26-
{
27-
"step": "activatePlugin",
28-
"pluginPath": "books/books.php"
29-
}
30-
]
31-
}
2+
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3+
"meta": {
4+
"title": "Custom Post Type: Books",
5+
"description": "Blueprint that added a custom post type to playground",
6+
"author": "bph",
7+
"categories": ["Content", "CPT"]
8+
},
9+
"landingPage": "/wp-admin/",
10+
"steps": [
11+
{
12+
"step": "login"
13+
},
14+
{
15+
"step": "mkdir",
16+
"path": "/wordpress/wp-content/plugins/books"
17+
},
18+
{
19+
"step": "writeFile",
20+
"path": "/wordpress/wp-content/plugins/books/books.php",
21+
"data": {
22+
"resource": "url",
23+
"url": "https://raw.githubusercontent.com/adamziel/blueprints/trunk/blueprints/custom-post/books.php"
24+
}
25+
},
26+
{
27+
"step": "activatePlugin",
28+
"pluginPath": "books/books.php"
29+
}
30+
]
31+
}
+30-32
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
11
{
2-
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3-
"meta": {
4-
"title": "Grid Variations Experiments enabled",
5-
"author": "bph",
6-
"description": "Blueprint example to toggle on enable a feature from the Experiments page in Gutenberg plugin",
7-
"categories": ["Gutenberg", "Experiments"]
8-
},
9-
"landingPage": "/wp-admin/site-editor.php",
10-
"steps":[
11-
{
12-
"step": "login",
13-
"username": "admin",
14-
"password": "password"
15-
},
16-
{
17-
"step":"installPlugin",
18-
"pluginZipFile":{
19-
"resource": "wordpress.org/plugins",
20-
"slug":"gutenberg"
21-
},
22-
"options": {
23-
"activate": true
24-
}
25-
},
26-
{
27-
"step": "runPHP",
28-
"code": "<?php require '/wordpress/wp-load.php'; update_option( 'gutenberg-experiments', array( 'gutenberg-grid-interactivity' => true ) );"
29-
30-
}
31-
32-
]
33-
}
2+
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3+
"meta": {
4+
"title": "Grid Variations Experiments enabled",
5+
"author": "bph",
6+
"description": "Blueprint example to toggle on enable a feature from the Experiments page in Gutenberg plugin",
7+
"categories": ["Gutenberg", "Experiments"]
8+
},
9+
"landingPage": "/wp-admin/site-editor.php",
10+
"steps": [
11+
{
12+
"step": "login",
13+
"username": "admin",
14+
"password": "password"
15+
},
16+
{
17+
"step": "installPlugin",
18+
"pluginZipFile": {
19+
"resource": "wordpress.org/plugins",
20+
"slug": "gutenberg"
21+
},
22+
"options": {
23+
"activate": true
24+
}
25+
},
26+
{
27+
"step": "runPHP",
28+
"code": "<?php require '/wordpress/wp-load.php'; update_option( 'gutenberg-experiments', array( 'gutenberg-grid-interactivity' => true ) );"
29+
}
30+
]
31+
}

blueprints/latest-gutenberg/blueprint.json

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
},
88
"plugins": ["gutenberg"]
99
}
10-
+20-20
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3-
"meta": {
4-
"title": "Use wp-cli command to add posts",
5-
"description": "Blueprint example to add posts via a wp-cli command.",
6-
"author": "bph",
7-
"categories": ["Content", "wpcli"]
8-
},
9-
"landingPage": "/wp-admin/edit.php",
10-
"steps":[
11-
{
12-
"step": "login",
13-
"username": "admin",
14-
"password": "password"
15-
},
16-
{
17-
"step": "wp-cli",
18-
"command": "wp post generate --count=12 --post_type=post --post_date=1999-01-04"
19-
}
20-
]
21-
}
2+
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3+
"meta": {
4+
"title": "Use wp-cli command to add posts",
5+
"description": "Blueprint example to add posts via a wp-cli command.",
6+
"author": "bph",
7+
"categories": ["Content", "wpcli"]
8+
},
9+
"landingPage": "/wp-admin/edit.php",
10+
"steps": [
11+
{
12+
"step": "login",
13+
"username": "admin",
14+
"password": "password"
15+
},
16+
{
17+
"step": "wp-cli",
18+
"command": "wp post generate --count=12 --post_type=post --post_date=1999-01-04"
19+
}
20+
]
21+
}

0 commit comments

Comments
 (0)