Add missing blocks origin to theme.json#3313
Conversation
|
Hey @oandregal I don't really have the expertise to judge the code itself. However, I am mostly just blindly following the testing instructions from WordPress/gutenberg#44363 and I can't reproduce the behaviour mentioned below:
Here's a video of my issue: 2022-09-22_15-20-13.mp4 |
|
Interesting, I've tested in It seems that we're missing a backport: I cannot find in trunk the filter |
|
I think the reason it's not working is that this backport is missing: #3319 |
Trac ticket: https://core.trac.wordpress.org/ticket/56467
Backports WordPress/gutenberg#44363
This PR adds a missing origin to the code that processes
theme.json. It also consolidates its name toblocksto be more reflective of what it affects. If the data coming from theblocksorigin contained presets, it would be overriden by the data coming from thethemeorigin, which is not expected.