From fdfad95e7ddcf751e6817404199307aac80336d9 Mon Sep 17 00:00:00 2001 From: Dan0sz <18595395+Dan0sz@users.noreply.github.com> Date: Wed, 1 May 2024 10:41:01 +0200 Subject: [PATCH] Proper fix for is_list logic. --- src/Admin/Settings/API.php | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/src/Admin/Settings/API.php b/src/Admin/Settings/API.php index 9f7eb4c4..dffd528d 100644 --- a/src/Admin/Settings/API.php +++ b/src/Admin/Settings/API.php @@ -10,6 +10,7 @@ namespace Plausible\Analytics\WP\Admin\Settings; +use Plausible\Analytics\WP\Ajax; use Plausible\Analytics\WP\Helpers; /** @@ -581,23 +582,21 @@ public function render_group_field( array $group, $hide_header = false ) { - 1; ?> - 1 ); } - foreach ( $fields as $field ): ?> - - + ?>