Skip to content

Commit

Permalink
Docs: Fix installTheme step examples (#757)
Browse files Browse the repository at this point in the history
## What is this PR doing?
Fixes the wrong keys used in the Blueprint examples.

## What problem is it solving?
Prevents error messages when authoring a `blueprint.json` file (or
running it).

## How is the problem addressed?
I changed the key associated with `installTheme` from `pluginZipFile` to
`themeZipFile`.

## Testing Instructions
  • Loading branch information
ironnysh authored Nov 21, 2023
1 parent 25110b3 commit aad8a56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/site/docs/09-blueprints-api/08-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Let's see some cool things you can do with Blueprints.
},
{
"step": "installTheme",
"pluginZipFile": {
"themeZipFile": {
"resource": "wordpress.org/themes",
"slug": "pendant"
}
Expand Down Expand Up @@ -79,7 +79,7 @@ wp_insert_post(array(
},
{
"step": "installTheme",
"pluginZipFile": {
"themeZipFile": {
"resource": "url",
"url": "https://your-site.com/your-theme.zip"
}
Expand Down

0 comments on commit aad8a56

Please sign in to comment.