From 1c7c8cb0272fe37993abdf0add16495db69c6700 Mon Sep 17 00:00:00 2001 From: Niclas Norin Date: Mon, 2 Oct 2023 10:50:37 +0200 Subject: [PATCH] Fix: Acf block added to every block by mistake --- source/php/AcfFields/json/mod-image.json | 35 ------------------------ source/php/AcfFields/php/mod-image.php | 35 ------------------------ 2 files changed, 70 deletions(-) diff --git a/source/php/AcfFields/json/mod-image.json b/source/php/AcfFields/json/mod-image.json index f65ccb784..a0d27d8a0 100644 --- a/source/php/AcfFields/json/mod-image.json +++ b/source/php/AcfFields/json/mod-image.json @@ -225,41 +225,6 @@ "value": "mod-image" } ], - [ - { - "param": "block", - "operator": "==", - "value": "all" - } - ], - [ - { - "param": "block", - "operator": "==", - "value": "all" - } - ], - [ - { - "param": "block", - "operator": "==", - "value": "all" - } - ], - [ - { - "param": "block", - "operator": "==", - "value": "all" - } - ], - [ - { - "param": "block", - "operator": "==", - "value": "all" - } - ], [ { "param": "block", diff --git a/source/php/AcfFields/php/mod-image.php b/source/php/AcfFields/php/mod-image.php index 93178f502..56c444b79 100644 --- a/source/php/AcfFields/php/mod-image.php +++ b/source/php/AcfFields/php/mod-image.php @@ -231,41 +231,6 @@ ), ), 1 => array( - 0 => array( - 'param' => 'block', - 'operator' => '==', - 'value' => 'all', - ), - ), - 2 => array( - 0 => array( - 'param' => 'block', - 'operator' => '==', - 'value' => 'all', - ), - ), - 3 => array( - 0 => array( - 'param' => 'block', - 'operator' => '==', - 'value' => 'all', - ), - ), - 4 => array( - 0 => array( - 'param' => 'block', - 'operator' => '==', - 'value' => 'all', - ), - ), - 5 => array( - 0 => array( - 'param' => 'block', - 'operator' => '==', - 'value' => 'all', - ), - ), - 6 => array( 0 => array( 'param' => 'block', 'operator' => '==',