update styles controller to fetch gutenberg bundled theme.json#46810
update styles controller to fetch gutenberg bundled theme.json#46810
Conversation
1661c0d to
ef303f5
Compare
|
Is this important for inclusion in 14.8.x? E.g. does this fix a severe incompatibility issue? (14.8.x includes the removal of the 6.0 compat code, which has been causing a lot of problems for the release.) |
|
This fix only affects the site editor, as it's the only place where the REST controller is used, as far as I know. There are a couple of things I can think of:
For example, comparing Gutenberg with latest WordPress trunk (the same will happen to other props in older WordPress versions),
This is definitely not a fatal, so I'm not sure we need a new 14.8.X patch release given how close 14.9. Though it's still an important fix. |
|
Ok, good to know. I'll cut a patch release then. |


What?
Side Editor doesn't load changes from Gutenberg bundled
theme.jsonafter this changeThis change adds back the method
get_theme_itemtoGutenberg_REST_Global_Styles_Controller_6_2so that the local version of thetheme.jsonis fetched when plugin is activated.Testing Instructions
theme.jsonsuch as updating color palette