| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | * Plugin URI: https://www.forge12.com/blog/so-verwendest-du-das-double-opt-in-fuer-contact-form-7/ |
| 15 | 15 | * Description: This plugin allows you to add a double OptIn System to your Contact Form 7 & Avada Forms. |
| 16 | 16 | * Text Domain: double-opt-in |
| 17 | 17 | * Domain Path: /languages |
| 18 | - * Version: 5.6.0 | |
| 18 | + * Version: 5.5.0 | |
| 19 | 19 | * Requires at least: 6.0 |
| 20 | 20 | * Requires PHP: 7.4 |
| 21 | 21 | * Author: Forge12 Interactive GmbH |
| 22 | 22 | * Author URI: https://www.forge12.com |
| @@ -56,9 +56,9 @@ | ||
| 56 | 56 | return; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | if ( ! defined( 'FORGE12_OPTIN_VERSION' ) ) { |
| 60 | - define( 'FORGE12_OPTIN_VERSION', '5.6.0' ); | |
| 60 | + define( 'FORGE12_OPTIN_VERSION', '5.5.0' ); | |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | // Addon API version — semver-independent from the plugin's marketing |
| 64 | 64 | // version. Bumped only on breaking changes to the Addon API surface |
| @@ -64,14 +64,10 @@ | ||
| 64 | 64 | // version. Bumped only on breaking changes to the Addon API surface |
| 65 | 65 | // (AddonInterface, AddonRegistry, AddonLicenseRegistry, FormIntegrationInterface, |
| 66 | 66 | // event payloads). Addons declare their requirement against this constant, |
| 67 | 67 | // not FORGE12_OPTIN_VERSION. |
| 68 | - // | |
| 69 | - // 4.4.0 (additive): FollowUp\FollowUpAdapterInterface, FollowUpCoordinator, | |
| 70 | - // FollowUpAdapterRegistry. Addons that implement follow-up adapters | |
| 71 | - // require ^4.4; everything else keeps working against 4.3. | |
| 72 | 68 | if ( ! defined( 'F12_DOI_CORE_API_VERSION' ) ) { |
| 73 | - define( 'F12_DOI_CORE_API_VERSION', '4.4.0' ); | |
| 69 | + define( 'F12_DOI_CORE_API_VERSION', '4.3.0' ); | |
| 74 | 70 | } |
| 75 | 71 | if ( ! defined( 'FORGE12_OPTIN_SLUG' ) ) { |
| 76 | 72 | define( 'FORGE12_OPTIN_SLUG', 'f12-cf7-doubleoptin' ); |
| 77 | 73 | } |
| @@ -102,11 +98,8 @@ | ||
| 102 | 98 | require_once 'core/BaseController.class.php'; |
| 103 | 99 | |
| 104 | 100 | require_once 'OnActivation.php'; |
| 105 | 101 | require_once 'OnDeactivation.php'; |
| 106 | - // OnUpdate runs at include time, before autoload.php is registered | |
| 107 | - // further down — load the one PSR-4 class it needs explicitly. | |
| 108 | - require_once 'src/Repository/FollowUpSchema.php'; | |
| 109 | 102 | require_once 'OnUpdate.php'; |
| 110 | 103 | require_once 'compatibility/OptInFrontend.class.php'; |
| 111 | 104 | require_once 'core/SpamMechanics.class.php'; |
| 112 | 105 | |
| @@ -448,13 +441,8 @@ | ||
| 448 | 441 | $container->addProvider( new \Forge12\DoubleOptIn\Providers\LicensingServiceProvider() ); |
| 449 | 442 | |
| 450 | 443 | // Register migration registry (v4.3.0+ — runs pending DB migrations on admin_init) |
| 451 | 444 | $container->addProvider( new \Forge12\DoubleOptIn\Providers\MigrationServiceProvider() ); |
| 452 | - | |
| 453 | - // Register follow-up coordinator (v5.6.0+ — status + retry of | |
| 454 | - // post-confirmation actions). Before AddonServiceProvider so | |
| 455 | - // the adapter registry exists when the form addons boot. | |
| 456 | - $container->addProvider( new \Forge12\DoubleOptIn\Providers\FollowUpServiceProvider() ); | |
| 457 | 445 | |
| 458 | 446 | // Register addon system (v4.3.0+ — public Addon API) |
| 459 | 447 | $container->addProvider( new \Forge12\DoubleOptIn\Providers\AddonServiceProvider() ); |
| 460 | 448 | |