For those who need a solution right now here is a quick fix (disclaimer: any change you make in the plugin will be erased by the following update).
In mailjet-widget.php
:
– Add the following after line 469:
$error .= ($_POST['mailjet_gdpr'] !== 'on') ? '<p class="response__error">'. __('Please check the acceptance checkbox', 'mydomain' ) .'.</p>' : false;
– Add the following after line 693 (<input id="email" name="email" type="text"...
):
<div class="mailjet__gdpr">
<input type="checkbox" id="mailjet-gdpr" name="mailjet_gdpr" required>
<label for="mailjet-gdpr"><?php printf( __( 'By subscribing to our newsletter you accept to transmit your personal data according to <a href="%s">our private policy</a> and the one from <a href="%s" target="_blank" rel="noopener">Mailjet</a>.', 'mydomain' ), esc_url( get_privacy_policy_url() ), 'https://mailjet.com/privacy-policy/' ); ?></label>
</div>
Still waiting for a better version of this plugin (localization, filters…).
Thanks!
-
This reply was modified 5 years, 11 months ago by Etienne.
-
This reply was modified 5 years, 11 months ago by Etienne.