-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Site Editor not working on Bedrock installs #628
Comments
Hi, I cannot even load the site editor for the main TwentyTwentyTwo theme (using bedrock)
Error:
I tried moving the theme to /web/app/themes, but that did not help. It works fine with a regular install of WP (without bedrock) Has anyone experienced this? |
For me the site editor doesn't load when you navigate to the link... wp/wp-admin/site-editor.php This is because when the page first loads, the javascript is trying to ajax http://demo2.local/wp/?_wp-find-template=true (which results in a 404) Notice the /wp/ in the url. It should really be loading http://demo2.local/?_wp-find-template=true So this may be a bug with WP code. (not sure if this can be changed within the bedrock code) The only way i can get the site editor to load is to load it with these extra url parameters (this bypasses the _wp-find-template request) |
This looks to be because the full site editor is passing through For now, this workaround seems to work, but I haven't extensively tested things to see if anything else breaks:
|
no longer an issue as of wp 6.0 |
Terms
Description
What's wrong?
Just bringing to your attention regarding this Site Editor not working for TwentyTwentyTwo Child theme on roots Bedrock.
I have also raised this with WordPress. https://core.trac.wordpress.org/ticket/55015
They are also investigating it.
What have you tried?
What insights have you gained?
the parent theme is not in the same themes folder as the child theme. Moving twentytwentytwo parent theme into bedrock/web/app/themes will let the Site Editor load
Temporary workarounds
Moving twentytwentytwo parent theme into bedrock/web/app/themes will let the Site Editor load
Steps To Reproduce
Expected Behavior
Site editor should be loaded
Actual Behavior
White screen
Relevant Log Output
Versions
1.19.0
The text was updated successfully, but these errors were encountered: