Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

馃悰 Fix block-style-variation-styles dependency error on WP 6.9.1 - #3279

#3279
Merged
retlehs merged 1 commit into
mainroots/sage:mainfrom
fix/block-style-variation-stylesroots/sage:fix/block-style-variation-stylesCopy head branch name to clipboard
Feb 27, 2026
Merged

馃悰 Fix block-style-variation-styles dependency error on WP 6.9.1#3279
retlehs merged 1 commit into
mainroots/sage:mainfrom
fix/block-style-variation-stylesroots/sage:fix/block-style-variation-stylesCopy head branch name to clipboard

Conversation

@retlehs

@retlehs retlehs commented Feb 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Disable on-demand block asset loading to fix the block-style-variation-styles unregistered global-styles dependency error introduced in WP 6.9.1
  • Classic themes like Sage are affected because global-styles isn't always registered early enough when on-demand loading is enabled
  • See https://core.trac.wordpress.org/ticket/61965

Close #3278

馃 Generated with Claude Code

Disable on-demand block asset loading for classic themes to resolve
the unregistered `global-styles` dependency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added the php Pull requests that update PHP code label Feb 17, 2026
@retlehs
retlehs merged commit a5a3ae9 into main Feb 27, 2026
3 checks passed
@retlehs
retlehs deleted the fix/block-style-variation-styles branch February 27, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

php Pull requests that update PHP code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when using a "button" block with the "outline" style

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.