The 'options.networkActivate' property is not valid in installPlugin step. Use separate wp-cli steps to network-activate plugins instead.
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
|
|
"landingPage": "/wp-admin/network/plugins.php",
|
|
"login": true,
|
|
"preferredVersions": {
|
|
"php": "8.0",
|
|
"wp": "latest"
|
|
},
|
|
"features": {
|
|
"networking": true
|
|
},
|
|
"steps": [
|
|
{
|
|
"step": "defineWpConfigConsts",
|
|
"consts": {
|
|
"WP_DEBUG": true,
|
|
"WP_DEBUG_LOG": true,
|
|
"WP_DEBUG_DISPLAY": true,
|
|
"SCRIPT_DEBUG": true
|
|
}
|
|
},
|
|
{
|
|
"step": "enableMultisite"
|
|
},
|
|
{
|
|
"step": "wp-cli",
|
|
"command": "wp site create --slug=testsite --title='Test Site'"
|
|
},
|
|
{
|
|
"step": "installPlugin",
|
|
"pluginData": {
|
|
"resource": "wordpress.org/plugins",
|
|
"slug": "plugin-toggle"
|
|
}
|
|
},
|
|
{
|
|
"step": "installPlugin",
|
|
"pluginData": {
|
|
"resource": "wordpress.org/plugins",
|
|
"slug": "kadence-blocks"
|
|
}
|
|
},
|
|
{
|
|
"step": "wp-cli",
|
|
"command": "wp plugin activate plugin-toggle --network"
|
|
},
|
|
{
|
|
"step": "wp-cli",
|
|
"command": "wp plugin activate kadence-blocks --network"
|
|
}
|
|
]
|
|
}
|