PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.8.1
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.8.1
5.9.0 5.8.0 5.8.1 5.7.0 5.6.2 5.6.3 5.6.1 5.6.0 5.5.0 5.4.0 5.3.2 5.3.1 5.1.6 5.1.5 trunk 2.1.5 2.11 2.12 2.13 2.15 3.0.0 3.0.1 3.0.2 3.0.3 3.0.5 All 42 releases
← All changes | src/Migration/AvadaDeprecationNotice.php +12 -1 5.6.3 → 5.8.1 View file →
@@ -102,9 +102,9 @@
102 102 data-nonce="<?php echo esc_attr( wp_create_nonce( 'f12-doi-avada-dismiss' ) ); ?>">
103 103 <?php esc_html_e( 'Dismiss until update', 'double-opt-in' ); ?>
104 104 </button>
105 105 <?php endif; ?>
106 - <a href="https://www.forge12.com/shop/contact-form-7-double-opt-in"
106 + <a href="<?php echo esc_url( self::productUrl() ); ?>"
107 107 target="_blank"
108 108 rel="noopener">
109 109 <?php esc_html_e( 'Learn more', 'double-opt-in' ); ?>
110 110 </a>
@@ -269,6 +269,17 @@
269 269 if ( ! defined( 'FORGE12_OPTIN_VERSION' ) ) {
270 270 return false;
271 271 }
272 272 return version_compare( FORGE12_OPTIN_VERSION, '5.0.0', '>=' );
273 + }
274 +
275 + /**
276 + * Shop link with the same tracking arguments as every other entry point.
277 + */
278 + private static function productUrl(): string {
279 + $fn = '\\forge12\\contactform7\\CF7DoubleOptIn\\get_product_url';
280 +
281 + return function_exists( $fn )
282 + ? (string) $fn( 'avada-notice' )
283 + : 'https://www.forge12.com/shop/contact-form-7-double-opt-in';
273 284 }
274 285 }