Skip to content

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

Merged
retlehs merged 1 commit into
mainfrom
fix/block-style-variation-styles
Feb 27, 2026
Merged

🐛 Fix block-style-variation-styles dependency error on WP 6.9.1#3279
retlehs merged 1 commit into
mainfrom
fix/block-style-variation-styles

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