| @@ -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.7.0 | |
| 18 | + * Version: 5.8.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.7.0' ); | |
| 60 | + define( 'FORGE12_OPTIN_VERSION', '5.8.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 |
| @@ -74,10 +74,18 @@ | ||
| 74 | 74 | // OptInError::isAlwaysShown()/shouldShowToVisitor(), |
| 75 | 75 | // OptInFrontend::getLastCreationError(), ErrorNotification::forget(). |
| 76 | 76 | // The Elementor, WPForms and Gravity Forms add-ons call them only when they |
| 77 | 77 | // exist (method_exists), so their requirement stays ^4.4. |
| 78 | + // | |
| 79 | + // 4.6.0 (additive): Service\ConfirmationMailResender, Service\DoiMailHeaders | |
| 80 | + // (filter f12_doi_mail_headers), filter f12_doi_submit_notice_data, | |
| 81 | + // Events\Lifecycle\OptInOptedOutEvent / OptInReOptedInEvent, | |
| 82 | + // FollowUp\GlobalFollowUpAdapterInterface, OptInStatsRepository::activity(), | |
| 83 | + // OptInMailStatusRepository::countFailedBetween(). Opt-Out and Reminder use them | |
| 84 | + // only when they exist (class_exists), so their requirement does not change; | |
| 85 | + // the Welle-2 add-ons that build on them require ^4.6. | |
| 78 | 86 | if ( ! defined( 'F12_DOI_CORE_API_VERSION' ) ) { |
| 79 | - define( 'F12_DOI_CORE_API_VERSION', '4.5.0' ); | |
| 87 | + define( 'F12_DOI_CORE_API_VERSION', '4.6.0' ); | |
| 80 | 88 | } |
| 81 | 89 | if ( ! defined( 'FORGE12_OPTIN_SLUG' ) ) { |
| 82 | 90 | define( 'FORGE12_OPTIN_SLUG', 'f12-cf7-doubleoptin' ); |
| 83 | 91 | } |
| @@ -451,8 +459,11 @@ | ||
| 451 | 459 | $container->addProvider( new \Forge12\DoubleOptIn\Providers\AdminServiceProvider() ); |
| 452 | 460 | |
| 453 | 461 | // Setup wizard (v5.7.0+) |
| 454 | 462 | $container->addProvider( new \Forge12\DoubleOptIn\Providers\SetupServiceProvider() ); |
| 463 | + | |
| 464 | + // Confirmation mail delivery status (v5.8.0+) | |
| 465 | + $container->addProvider( new \Forge12\DoubleOptIn\Providers\MailStatusServiceProvider() ); | |
| 455 | 466 | |
| 456 | 467 | // Register licensing registry (v4.3.0+ — entitlement state for paid addons) |
| 457 | 468 | $container->addProvider( new \Forge12\DoubleOptIn\Providers\LicensingServiceProvider() ); |
| 458 | 469 | |