WordPress 7.1 breaks ACF block editors by forcing iframe canvas for all posts
A change in WordPress 7.1 removed the conditional logic that previously kept the block editor canvas un-iframed when legacy ACF blocks were present. Prior to 7.1, the editor skipped iframing if any block in the post used API v2 or lower, which effectively protected sites using default ACF blocks. In 7.1, that check is gone and the editor forces iframing unconditionally, causing ACF custom fields to shift to the sidebar or silently fail to save. Updating ACF does not resolve the issue, as the root cause is a core JavaScript change in WordPress itself. Developers can check which version they are on by running a grep for 'disableIframe' in wp-includes/js/dist/, where four results indicate 7.0.x and zero results confirm the 7.1 breaking behavior.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in