Skip to content
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

Blockbase: replace user key with custom #5147

Merged
merged 3 commits into from Dec 7, 2021

Conversation

mikachan
Copy link
Member

@mikachan mikachan commented Dec 4, 2021

Changes proposed in this Pull Request:

This PR replaces the user origin key with custom, from this GB PR: WordPress/gutenberg#36748.

To test, make sure you're using at least GB 12.1, and change the color and fonts of Blockbase in the Customizer. Without this change, these settings will be overwritten/reverted when leaving or refreshing the Customizer. With this change, these settings should save correctly.

I couldn't find any references to the core key, which we should change to default (from this PR: WordPress/gutenberg#36645), and as the color and font customizations seem to be working with the above, I'm hoping it's only the user key we need to change.

Related issue(s):

Closes #5077

@mikachan mikachan requested a review from a team December 4, 2021 00:10
@mikachan mikachan self-assigned this Dec 4, 2021
Copy link
Member

@scruffian scruffian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also renamed a key in functions.php in Blockbase

@scruffian
Copy link
Member

When 12.1 launches on wpcom we need to launch this ASAP

@scruffian
Copy link
Member

We might want to change the approach here so that it can work before 12.1 launches.

@pbking
Copy link
Contributor

pbking commented Dec 6, 2021

I pushed a change that will allow this to work with both 12.0 and 12.1. Tested with first 12.0 and then upgraded Gutenberg to 12.1 and evaluated the same setup.

Copy link
Member Author

@mikachan mikachan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed a change that will allow this to work with both 12.0 and 12.1. Tested with first 12.0 and then upgraded Gutenberg to 12.1 and evaluated the same setup.

I've just tested in the same way (on 12.0 and then 12.1) and it works well for me too 🚢✨

@scruffian scruffian merged commit 70a1757 into trunk Dec 7, 2021
@scruffian scruffian deleted the update/5077-blockbase-customizer branch December 7, 2021 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blockbase: rename user and core to custom and default
3 participants