[wp-trac] [WordPress Trac] #59017: Duotone not working in 6.3

WordPress Trac noreply at wordpress.org
Wed Aug 9 13:30:18 UTC 2023


#59017: Duotone not working in 6.3
-----------------------------+------------------------------
 Reporter:  alh0319          |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  6.3
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  css
-----------------------------+------------------------------

Comment (by joedolson):

 They're declared via theme.json. I think this is caused by the loading
 optimizations; we weren't assigning the duotone patterns through the
 editor, but creating a pattern using nth selectors in a grid that was
 produced by a shortcode. Now that the duotone code is only loaded if used,
 it's not available for use outside of editor generated content.

 You can look at the repo at
 https://github.com/wpa11yday/wpaccessibilityday

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59017#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list