Use enableMultisite step in WordPress Playground blueprint

This commit is contained in:
2025-04-22 00:24:39 +01:00
parent 17375cf555
commit 960468f176
4 changed files with 9 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ The easiest way to test our plugin with WordPress Playground is to use the onlin
1. Single site testing: [Open in WordPress Playground](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/wpallstars/wp-plugin-starter-template-for-ai-coding/feature/testing-framework/playground/blueprint.json&_t=4)
2. Multisite testing: [Open in WordPress Playground](https://playground.wordpress.net/?php=8.0&multisite=true&networking=true&_t=9)
2. Multisite testing: [Open in WordPress Playground](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/wpallstars/wp-plugin-starter-template-for-ai-coding/feature/testing-framework/playground/multisite-blueprint.json&_t=10)
These links will automatically set up WordPress with our plugin installed and activated.
@@ -32,7 +32,7 @@ To run tests with WordPress Playground:
1. Open the appropriate WordPress Playground link:
- [Single site](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/wpallstars/wp-plugin-starter-template-for-ai-coding/feature/testing-framework/playground/blueprint.json&_t=4)
- [Multisite](https://playground.wordpress.net/?php=8.0&multisite=true&networking=true&_t=9)
- [Multisite](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/wpallstars/wp-plugin-starter-template-for-ai-coding/feature/testing-framework/playground/multisite-blueprint.json&_t=10)
2. Test the plugin manually in the browser

View File

@@ -106,7 +106,7 @@ The easiest way to test our plugin with WordPress Playground is to use the onlin
1. Single site testing: [Open in WordPress Playground](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/wpallstars/wp-plugin-starter-template-for-ai-coding/feature/testing-framework/playground/blueprint.json&_t=4)
2. Multisite testing: [Open in WordPress Playground](https://playground.wordpress.net/?php=8.0&multisite=true&networking=true&_t=9)
2. Multisite testing: [Open in WordPress Playground](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/wpallstars/wp-plugin-starter-template-for-ai-coding/feature/testing-framework/playground/multisite-blueprint.json&_t=10)
These links will automatically set up WordPress with a sample plugin installed and activated.

View File

@@ -1,15 +1,15 @@
{
"landingPage": "/wp-admin/",
"landingPage": "/wp-admin/network/",
"login": true,
"preferredVersions": {
"php": "8.0",
"wp": "latest"
},
"options": {
"multisite": true,
"networking": true
},
"steps": [
{
"step": "enableMultisite",
"subdomain": false
},
{
"step": "installPlugin",
"pluginData": {

View File

@@ -20,6 +20,6 @@
</style>
</head>
<body>
<iframe src="https://playground.wordpress.net/?php=8.0&multisite=true&networking=true&_t=9"></iframe>
<iframe src="https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/wpallstars/wp-plugin-starter-template-for-ai-coding/feature/testing-framework/playground/multisite-blueprint.json&_t=10"></iframe>
</body>
</html>