-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix activating a theme in site editor when previewing #60699
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -6 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
I wonder if #61239 is similar or related to this fix? |
It shouldn't be this PR, no. I commented on your open issue about possible responsible changes.. |
What?
Fixes: #60650
There was a regression introduced here: #60077 where you cannot activate a theme if no other changes have been made. In my original PR I had added an extra check to bail early, but it seems that was the cause of the regression when we need to activate a theme while previewing it in site editor.
Testing Instructions
Live Preview
buttonTasks