Open miscs opened 1 year ago
Hi, This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps. Thanks for helping out.
It is still relevant with latest release.
Hi, This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps. Thanks for helping out.
Here is a partial solution.
https://github.com/WordPress/gutenberg/issues/57945#issuecomment-2018234879
Description
I use WordPress in a headless mode and therefore I define a site_url that is different from the home_url in Settings->General.
home_url: backend.domainA.com site_url: domainB.com
If have seen https://github.com/WordPress/gutenberg/issues/1761 and implemented the mentioned workaround
With this filter I can use Gutenberg again (add / edit posts). But when I use a block theme, I see the following call to the site_url, which obviously cannot work:
site_url/?p=10&_wp-find-template=true&_locale=user
Step-by-step reproduction instructions
Disclaimer: I want to use a block theme in the backend because of the functionality it provides in wp-admin, even when I am using WordPress in Headless mode with a custom frontend.
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes