-
Notifications
You must be signed in to change notification settings - Fork 4.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
Framework: redirecting to wp-admin URL #867
Comments
There are some filters run server-side that will be problematic to recreate (notably For a solution, I like the global containing |
I'm closing this for now, It doesn't seem so useful after all. The current approach works well. This could be a concern later once we move other parts of WordPress to frontend. |
In some places, we need to build and redirect to wp-admin URLs. In order to achieve this, we'll have to provide the
baseUrl
ofwp-admin
to JS.We're already building URLs to the gutenberg editor by parsing the current URL and appending a query string but this not enough to navigate to other wp-admin pages. (see #862 (comment))
How do you think we should do this? append the base URL to the settings endpoint? provide a global JS variable while initializing the Editor?
The text was updated successfully, but these errors were encountered: