Full Site Editing: use correct wp-admin
url and params
#61817
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed in this Pull Request
wp-admin
URL and params for the site editor.WordPress/gutenberg#38817 introduced a redirect to ensure that homepage editing works properly. Unfortunately this scrambled a lot of our (fragile!) site editor integration code on the backend.
Testing instructions
You need D76621-code on your sandbox. Sandbox a site with FSE active and also
public-api
.Try to load the site editor. It should work with both
prod
andedge
gutenberg versions. But, lacking either the backend patch, or this branch, the site editor redirects onedge
to thewp-admin
URL at the top level.Related to #61776 #61858