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

Nest cached blocks post type restrictions in the block.json acf section #296

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

thunderdw
Copy link
Contributor

Fixes #295

This is a bug fix but could be considered a breaking change.

Scenario that could happen on a site using cached blocks:

  • Block was added to a post type that did not support it
  • The site is updated to a version of ACF Composer that includes this fix
  • The block is still visible on the frontend but will display this message in the editor:

    Your site doesn’t include support for the "acf/block-name" block. You can leave it as-is or remove it.

@Log1x Log1x merged commit 6c22d9f into Log1x:master Dec 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Block post type restriction doesn't work on cached blocks
2 participants