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

PLANET-6811 Remove default duotones #1740

Merged
merged 1 commit into from
Jun 15, 2022
Merged

PLANET-6811 Remove default duotones #1740

merged 1 commit into from
Jun 15, 2022

Conversation

comzeradd
Copy link
Member

@comzeradd comzeradd commented Jun 15, 2022

Ref: https://jira.greenpeace.org/browse/PLANET-6811
Ref: WordPress/gutenberg#40383


Our current theme.json option doesn't work in 6.0. You will probably see a validation error in your editor, because null
is not yet reflected in the official schema, but it does seem to work without issues.

Testing

  1. You need to be running Wordpress 6.0
  2. While on master branch in the theme, add an image block. You should be seeing the Duotones button in the formatting toolbar.
  3. git checkout -t origin/duotone-false
  4. make flush (just in case)
  5. No duotone button anymore.

I haven't tested this with 5.9 yet, but if it creates issues we can hold merging it till the actual upgrade.

@comzeradd comzeradd requested review from lithrel and mleray June 15, 2022 08:55
@comzeradd comzeradd self-assigned this Jun 15, 2022
Ref: https://jira.greenpeace.org/browse/PLANET-6811
Ref: WordPress/gutenberg#40383

---

Our current `theme.json` option doesn't work in 6.0.
You will probably see a validation error in your editor, because `null`
is not yet reflected in the official schema, but it does seem to work
without issues.
planet-4 added a commit to greenpeace/planet4-test-iocaste that referenced this pull request Jun 15, 2022
/unhold 3ebf046c-a2e6-42c8-9325-39c40b3361c4
@planet-4
Copy link
Contributor

Test instance is ready 🚀

🌑 iocaste | admin | blocks report | CircleCI | composer-local.json

⌚ 2022.06.15 09:07:45

Copy link
Contributor

@mleray mleray left a comment

Choose a reason for hiding this comment

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

Tested on local, both with WP 6 and 5.9, looks good to me 👍

@comzeradd comzeradd merged commit 24cc5ec into master Jun 15, 2022
@comzeradd comzeradd deleted the duotone-false branch June 15, 2022 09:31
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.

3 participants