From d607badac1e7567f28dcbaa3eb938fc70c23dc34 Mon Sep 17 00:00:00 2001 From: Zachary Batte Date: Thu, 2 Jul 2026 22:54:01 -0600 Subject: [PATCH] fix(instanda): register the add-on on gform_loaded at the intended priority 5 The priority argument was passed to Guard::wrap() (which takes a single callable and silently ignored it) instead of to add_action(), so the add-on registered at the default priority 10 rather than 5. Move the 5 to add_action's third argument so registration runs at the same early priority as Gravity Forms' own bundled add-on bootstraps. Co-Authored-By: Claude Fable 5 --- .../esp-instanda-integration/esp-instanda-integration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/plugins/esp-instanda-integration/esp-instanda-integration.php b/wp-content/plugins/esp-instanda-integration/esp-instanda-integration.php index fcf14912..2fd2b3cb 100644 --- a/wp-content/plugins/esp-instanda-integration/esp-instanda-integration.php +++ b/wp-content/plugins/esp-instanda-integration/esp-instanda-integration.php @@ -122,7 +122,7 @@ function platform_blockers(): array { require_once __DIR__ . '/includes/class-instanda-addon.php'; \GFAddOn::register(Instanda_AddOn::class); -}, 5)); +}), 5); /* ----------------------------------------------------------------- cron cleanup */