From 081200d56f0562c856fa70f1c601f78100d25aa1 Mon Sep 17 00:00:00 2001 From: Chris Portscheller Date: Thu, 23 Jul 2026 09:59:45 -0500 Subject: [PATCH 1/4] feat: gate IP enrichment behind entitlement + WordPress Pro checkout URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add WebDecoy_Cloud_Connect::wp_upgrade_url() building the WordPress-channel checkout link (app.webdecoy.com/billing/wordpress?organization_id=..&plan=wp_pro, contract §4); Cloud tab Upgrade button now uses it. - Gate WebDecoy_IP_Enrichment remote calls behind features.enrichment: fail silently to no-enrichment when a synced entitlements cache says unentitled; never-synced (manual-key) installs still defer to the server's own 403. --- admin/partials/settings-page.php | 2 +- includes/class-webdecoy-cloud-connect.php | 39 +++++++++++++++++++++-- includes/class-webdecoy-ip-enrichment.php | 15 +++++++++ 3 files changed, 53 insertions(+), 3 deletions(-) diff --git a/admin/partials/settings-page.php b/admin/partials/settings-page.php index 54f2fc2..9e07b17 100644 --- a/admin/partials/settings-page.php +++ b/admin/partials/settings-page.php @@ -756,7 +756,7 @@

- +