From bef7b12bd7d9bf96e5349e3ea31d867e2eecca14 Mon Sep 17 00:00:00 2001 From: Aki Hamano <54422211+t-hamano@users.noreply.github.com> Date: Thu, 13 Jun 2024 13:01:40 +0900 Subject: [PATCH] Add blueprint (#30) * Add assets * Update blueprint * Update blueprint --- .wordpress-org/blueprints/blueprint.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .wordpress-org/blueprints/blueprint.json diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json new file mode 100644 index 0000000..29a3178 --- /dev/null +++ b/.wordpress-org/blueprints/blueprint.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://playground.wordpress.net/blueprint-schema.json", + "landingPage": "/wp-admin/post.php?post=5&action=edit", + "steps": [ + { + "step": "login", + "username": "admin", + "password": "password" + }, + { + "step": "installPlugin", + "pluginZipFile": { + "resource": "wordpress.org/plugins", + "slug": "enable-responsive-image" + } + }, + { + "step": "runPHP", + "code": " 5,\n'post_title' => 'Enable Responsive Image',\n'post_content' => '\n
Select the Image block, open the block sidebar, and check the \"Image sources\" section.
\n\n\n\n',\n'post_status' => 'publish',\n'post_author' => 1\n));" + } + ] +}