Unable to Activate Themes from Live Preview without Changes #60650
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When attempting to activate a theme from the Live Preview within the site editor, the activation fails if there are no other changes in the editor. Clicking on "Activate {theme}" triggers the pre-save panel (implying that there are unsaved changes, even though no changes are listed). Subsequently, attempting to confirm the activation by clicking on “Activate” has no effect, with no console errors or network requests being generated to indicate a problem.
Expected Behavior: The theme should be activated successfully, reflecting immediately in the site's appearance.
Actual Behavior: The activation process does not proceed. The pre-save panel opens without listing any changes, and clicking on “Activate” does nothing. No errors are logged to the console, and no network requests are made.
Step-by-step reproduction instructions
Live Preview
button“Activate {theme}”
Screenshots, screen recording, code snippet
Screen.Recording.2024-04-11.at.9.42.43.mov
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
The text was updated successfully, but these errors were encountered: