-
Notifications
You must be signed in to change notification settings - Fork 374
Open
Labels
[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Blueprint:
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"landingPage": "/wp-admin/",
"features": {
"networking": true
},
"plugins": [
"https://github-proxy.com/proxy/?repo=soderlind/super-admin-all-sites-menu"
],
"siteOptions": {
"blogname": "Main site"
},
"steps": [
{
"step": "installPlugin",
"pluginData": {
"resource": "wordpress.org/plugins",
"slug": "restricted-site-access"
},
"options": {
"activate": false
}
},
{
"step": "enableMultisite"
},
{
"step": "wp-cli",
"command": "wp site create --slug=site01"
},
{
"step": "wp-cli",
"command": "wp site create --slug=site02"
},
{
"step": "wp-cli",
"command": "wp site create --slug=site03"
},
{
"step": "wp-cli",
"command": "wp site create --slug=site04"
},
{
"step": "wp-cli",
"command": "wp site create --slug=site05"
},
{
"step": "login",
"username": "admin"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/mu-plugins/allsitesmenu-notice.php",
"data": "<?php add_action('admin_notices', function() { echo '<div class=\"notice notice-info is-dismissible\"><p>Check All Sites in the admin bar.</p></div>'; });"
}
]
}URL to the main site is https://playground.wordpress.net/scope:SCOPE-NAME/wp-admin/
But the subsites get the url https://playground.wordpress.net/site01/wp-admin/ eg, without scope, so if I try to go to the subsite site, I'm redirected to main.
Metadata
Metadata
Assignees
Labels
[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended