Fix code quality issues: add iframe titles, fix Markdown formatting, update documentation, and clean up test files

This commit is contained in:
2025-04-22 15:03:24 +01:00
parent c37d2975d3
commit 3ca2fe58fa
5 changed files with 24 additions and 29 deletions

View File

@@ -11,6 +11,7 @@
height: 100%;
overflow: hidden;
}
iframe {
width: 100%;
height: 100%;
@@ -41,7 +42,7 @@
<button onclick="loadSingleSite()">Single Site</button>
<button onclick="loadMultisite()">Multisite</button>
</div>
<iframe id="playground" src="about:blank"></iframe>
<iframe id="playground" src="about:blank" title="WordPress Playground Test Environment"></iframe>
<script>
function loadSingleSite() {
@@ -57,6 +58,9 @@
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"landingPage": "/wp-admin/",
"login": true,
"features": {
"networking": true
},
"steps": [
{
"step": "defineWpConfigConsts",
@@ -65,18 +69,8 @@
}
},
{
"step": "installPlugin",
"pluginData": {
"resource": "wordpress.org/plugins",
"slug": "plugin-toggle"
}
},
{
"step": "installPlugin",
"pluginData": {
"resource": "wordpress.org/plugins",
"slug": "hello-dolly"
}
"step": "wp-cli",
"command": "wp plugin install plugin-toggle kadence-blocks --activate"
}
]
};
@@ -105,11 +99,7 @@
},
{
"step": "wp-cli",
"command": "wp plugin install plugin-toggle --activate-network"
},
{
"step": "wp-cli",
"command": "wp plugin install hello-dolly"
"command": "wp plugin install plugin-toggle kadence-blocks --activate-network"
}
]
};