From 4eec6db36c3d4bf89e3ef1984c64026016aadff6 Mon Sep 17 00:00:00 2001 From: Joshua Fredrickson Date: Tue, 12 Mar 2024 14:37:00 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Ensure=20`acf=5Fblock=5Fversion`?= =?UTF-8?q?=20is=20set=20to=20`2`=20(#232)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Block.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Block.php b/src/Block.php index 9a45f76a..925deb1b 100644 --- a/src/Block.php +++ b/src/Block.php @@ -465,6 +465,7 @@ public function settings(): Collection 'styles' => $this->getStyles(), 'supports' => $this->supports, 'enqueue_assets' => fn ($block) => method_exists($this, 'assets') ? $this->assets($block) : null, + 'acf_block_version' => 2, 'render_callback' => function ( $block, $content = '',