Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pattern] Gutenberg 18.1 breaks filters on block render #12

Closed
justintadlock opened this issue May 12, 2024 · 0 comments
Closed

[Pattern] Gutenberg 18.1 breaks filters on block render #12

justintadlock opened this issue May 12, 2024 · 0 comments
Assignees
Labels
🐛 Bug I installed this, and now my website is broken. WordPress Issue Whatcha doin' to me WordPress/Gutenberg?

Comments

@justintadlock
Copy link
Contributor

A change to how patterns are resolved on the front end bypasses the expected render_block and render_block_core/pattern filter hooks, not executing them for the Pattern block:

This has been reported here:

This breaks applications of the block rules system when used on the Pattern block. For current uses in the theme, this applies to the featured pattern used in the Home template.

@justintadlock justintadlock added 🐛 Bug I installed this, and now my website is broken. WordPress Issue Whatcha doin' to me WordPress/Gutenberg? labels May 12, 2024
@justintadlock justintadlock self-assigned this May 12, 2024
justintadlock added a commit that referenced this issue May 12, 2024
This is a temporary fix for: #12

This is unlikely to work if/when the change is merged in Core.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug I installed this, and now my website is broken. WordPress Issue Whatcha doin' to me WordPress/Gutenberg?
Projects
None yet
Development

No branches or pull requests

1 participant