Fix multisite blueprint: use wp-cli for network activation
The 'options.networkActivate' property is not valid in installPlugin step. Use separate wp-cli steps to network-activate plugins instead.
This commit is contained in:
@@ -31,10 +31,6 @@
|
|||||||
"pluginData": {
|
"pluginData": {
|
||||||
"resource": "wordpress.org/plugins",
|
"resource": "wordpress.org/plugins",
|
||||||
"slug": "plugin-toggle"
|
"slug": "plugin-toggle"
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"activate": true,
|
|
||||||
"networkActivate": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -42,11 +38,15 @@
|
|||||||
"pluginData": {
|
"pluginData": {
|
||||||
"resource": "wordpress.org/plugins",
|
"resource": "wordpress.org/plugins",
|
||||||
"slug": "kadence-blocks"
|
"slug": "kadence-blocks"
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"activate": true,
|
|
||||||
"networkActivate": true
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"step": "wp-cli",
|
||||||
|
"command": "wp plugin activate plugin-toggle --network"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"step": "wp-cli",
|
||||||
|
"command": "wp plugin activate kadence-blocks --network"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user