You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wp-block-site-title and possibly other styles are not getting loaded when switching to certain themes on WoA sites (at least pendant, tt2, and zoologist).
This behavior happens only when Gutenberg plugin is active and is tied to a change that happened between 13.4.0 and 13.5.0. It may be tied to this specific change? WordPress/gutenberg#34180
Some hopefully helpful feedback shared on the p2: p9F6qB-afB-p2
I have seen this very behavior when accessing the Global Styles settings too early in the render lifecycle. This was causing the Global Styles configuration to cache settings before all blocks were registered, thus those unregistered blocks never received the styles expressed for them in theme.json (either theme or user).
This was happening because of things I was doing in the theme, and Disco and TT2 are neither doing that kind of activity.
You can likely reproduce calling something like wp_get_global_settings() from an init action with a low priority value.
Happening with PHP 7.4 and 8.0
Happening with FSE themes, in particular verified with: Pendant, Zoologist, TT2
Happening with Gutenberg 13.5.0 - 14.0.2
Since WoA, was able to disable all other plugins except Jetpack and Akismet but I tested with these active on an ephemeral site and styles loaded fine
Steps to reproduce
On an Atomic site with an up to date Gutenberg plugin active, activate tt2 or zoologist (likely other FSE themes as well)
check the live page and inspect global-styles-inline-css for the wp-block-site-title style
deactivate Gutenberg and refresh live page
see title get change size and style appear in global-styles-inline-css
unsymlink gutenberg to verify still happens - wpcomsh plugin use-unmanaged gutenberg
verify still happens
revert version to 13.4.0 - plugin install gutenberg --version=13.4.0 --force
see that no longer happens
What you expected to happen
the theme styles should get applied automatically when you switch to the theme
What actually happened
The theme styles aren't applied. You can make changes to the title in the editor though and those are applied.
Gutenberg active:
Gutenberg deactivated:
Browser
No response
Context
No response
Platform (Simple, Atomic, or both?)
Atomic
Other notes
No response
Reproducibility
Consistent
Severity
All
Available workarounds?
Yes, easy to implement
Workaround details
Can edit the title size in the template editor and it will be applied
The text was updated successfully, but these errors were encountered:
Quick summary
wp-block-site-title and possibly other styles are not getting loaded when switching to certain themes on WoA sites (at least pendant, tt2, and zoologist).
This behavior happens only when Gutenberg plugin is active and is tied to a change that happened between 13.4.0 and 13.5.0. It may be tied to this specific change? WordPress/gutenberg#34180
Some hopefully helpful feedback shared on the p2: p9F6qB-afB-p2
Happening with PHP 7.4 and 8.0
Happening with FSE themes, in particular verified with: Pendant, Zoologist, TT2
Happening with Gutenberg 13.5.0 - 14.0.2
Since WoA, was able to disable all other plugins except Jetpack and Akismet but I tested with these active on an ephemeral site and styles loaded fine
Steps to reproduce
wpcomsh plugin use-unmanaged gutenberg
plugin install gutenberg --version=13.4.0 --force
What you expected to happen
the theme styles should get applied automatically when you switch to the theme
What actually happened
The theme styles aren't applied. You can make changes to the title in the editor though and those are applied.
Gutenberg active:
Gutenberg deactivated:
Browser
No response
Context
No response
Platform (Simple, Atomic, or both?)
Atomic
Other notes
No response
Reproducibility
Consistent
Severity
All
Available workarounds?
Yes, easy to implement
Workaround details
Can edit the title size in the template editor and it will be applied
The text was updated successfully, but these errors were encountered: