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

Fix: Color palette is not being stored #36817

Merged

Conversation

jorgefilipecosta
Copy link
Member

With #36748 and #36747 we made a regression and the color palettes are not being stored correctly.

This PR fixes the issue.

How has this been tested?

I verified as a user I could change theme, default, and custom palettes and they are stored after reloading the site editor.

@jorgefilipecosta jorgefilipecosta added Backport to WP 6.7 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels Nov 24, 2021
@jorgefilipecosta jorgefilipecosta force-pushed the fix/color-palettes-are-not-being-stored-correctly branch 2 times, most recently from a5b48f7 to 811b797 Compare November 24, 2021 12:21
@jorgefilipecosta jorgefilipecosta force-pushed the fix/color-palettes-are-not-being-stored-correctly branch from 811b797 to a7fef27 Compare November 24, 2021 12:25
Copy link
Member

@oandregal oandregal left a comment

Choose a reason for hiding this comment

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

Haven't been able to test manually, but changes look good.

@jorgefilipecosta jorgefilipecosta merged commit 97629ab into trunk Nov 24, 2021
@jorgefilipecosta jorgefilipecosta deleted the fix/color-palettes-are-not-being-stored-correctly branch November 24, 2021 12:56
@github-actions github-actions bot added this to the Gutenberg 12.1 milestone Nov 24, 2021
@noisysocks noisysocks removed the Backport to WP 6.7 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants