Skip to content

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

Open
retlehs wants to merge 1 commit intomainfrom
fix/block-style-variation-styles
Open

🐛 Fix block-style-variation-styles dependency error on WP 6.9.1#3279
retlehs wants to merge 1 commit intomainfrom
fix/block-style-variation-styles

Conversation

@retlehs
Copy link
Member

@retlehs retlehs commented Feb 17, 2026

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
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