Open
Description
openedon Sep 5, 2024
Quick summary
Switching the admin interface style generates a CORS error and an error panel.
Steps to reproduce
- Visit one atomic site like
https://wordpress.com/settings/general/__SITE__
- Select "Default style" (if not already in that style)
- Select "Classic style" and save
- You will be directed to
wp-admin.php
. Now go back to/settings/general/__SITE__
and select "Defaul style"
What you expected to happen
Access to XMLHttpRequest at 'https://wordpress.com/settings/general/__SITE__'
(redirected from 'https://public-api.wordpress.com/wpcom/v2/sites/__ID__/hosting/admin-interface?_envelope=1')
from origin 'https://public-api.wordpress.com' has been blocked by CORS policy: Response to preflight request
doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
What actually happened
The switch happened, but the error appeared.
Impact
Most (> 50%)
Available workarounds?
No but the platform is still usable
If the above answer is "Yes...", outline the workaround.
No response
Platform (Simple and/or Atomic)
Atomic
Logs or notes
Chrome 128.0.6613.115
Site ID: 61074952
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
To be used when issues have been triaged.To be used when issues have been triaged.All other general site settings.All other general site settings.
Type
Projects
Status
Triaged