-
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
Duotone filters are missing from live site when used in Classic Themes #54099
Comments
I can reproduce this with the theme Twenty-Twenty-Thirteen for WordPress nightly and Gutenberg nightly. duotones-not-in-classic.theme.mp4 |
Tested it with WordPress 6.2.2 (no GB plugin) and the duotone works for both, Editor and front-end. Then I was curious, which Gutenberg plugin version broke the duotone in classic themes. The regression might have been introduced via this PR @ajlende when you get a quiet moment, could you take a look at this? |
This issue was also reproducible in WordPress 6.3 when I activated the latest Gutenberg plugin.
|
Any update on this ? |
Hi @nderambure, This issue should have been fixed in WP Core: #58734 (Duotone filter not reflected on the frontend) – WordPress Trac However, the code modified in the core is not backported to the Gutenberg plugin. Therefore, if you have the Gutenberg plugin enabled, I think this issue will reoccur. I have submitted #54778 to also fix the issue with the Gutenberg plugin. |
Thx @t-hamano ! |
Thanks for the reply. This issue will still persist with the Gutenberg plugin enabled unless #54778 is merged. Therefore, I will leave this issue open. |
Description
On sites using a classic theme, Duotone filters apply in the post editor, but don't appear on the live site
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Capture.on.2023-08-31.at.14-43-58.mp4
Inspecting the image block shows
wp-duotone-rgb10400-rgb255232232-1
, even though the filter is not applied.Environment info
Deactivating Gutenberg altogether allows the Duotone filter to appear on the live site.
Possibly related? #49293 (I can't tell if this is the same issue - it appears to just be about the default colors available, and not the function of duotone on the live site).
Many WordPress.com customers have reported this issue; those reports are being tracked here: Automattic/wp-calypso#78442
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: