Version Description
- Plugin page css conflict design issue fixed
- Multiple V2 Google recaptcha for same page issue fixed
- updated regex for test email
Download this release
Release Info
Developer | neeraj_slit |
Plugin | SendinBlue Subscribe Form And WP SMTP |
Version | 2.9.17 |
Comparing to | |
See all releases |
Code changes from version 2.9.16 to 2.9.17
- css/admin.css +13 -1
- js/admin.js +1 -1
- js/mailin-front.js +1 -1
- readme.txt +7 -2
- sendinblue.php +8 -5
css/admin.css
CHANGED
@@ -50,7 +50,17 @@ body {
|
|
50 |
|
51 |
.small-content {
|
52 |
margin-top: 20px;
|
|
|
53 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
div.title {
|
55 |
border-bottom: 1px solid #333;
|
56 |
margin-right: 20px;
|
@@ -78,6 +88,7 @@ button#send_email_btn {
|
|
78 |
}
|
79 |
div#email_send_field{
|
80 |
margin-top: 10px;
|
|
|
81 |
}
|
82 |
input.has-success {
|
83 |
border-color: #3c763d;
|
@@ -190,6 +201,7 @@ input[type=radio]:focus {
|
|
190 |
padding: 10px 15px !important;
|
191 |
margin: 0 0 12px 0 !important;
|
192 |
border-color: #ddd !important;
|
|
|
193 |
}
|
194 |
|
195 |
.popover-help-form {
|
@@ -260,4 +272,4 @@ pre.script {
|
|
260 |
.sib-gdpr-block-area label {
|
261 |
font-weight: 100;
|
262 |
margin-left: 5px;
|
263 |
-
}
|
50 |
|
51 |
.small-content {
|
52 |
margin-top: 20px;
|
53 |
+
display:block;
|
54 |
}
|
55 |
+
|
56 |
+
.small-content .panel-body{
|
57 |
+
display: block;
|
58 |
+
}
|
59 |
+
|
60 |
+
.small-content .panel-body .row{
|
61 |
+
display: block;
|
62 |
+
}
|
63 |
+
|
64 |
div.title {
|
65 |
border-bottom: 1px solid #333;
|
66 |
margin-right: 20px;
|
88 |
}
|
89 |
div#email_send_field{
|
90 |
margin-top: 10px;
|
91 |
+
display:grid;
|
92 |
}
|
93 |
input.has-success {
|
94 |
border-color: #3c763d;
|
201 |
padding: 10px 15px !important;
|
202 |
margin: 0 0 12px 0 !important;
|
203 |
border-color: #ddd !important;
|
204 |
+
display:block;
|
205 |
}
|
206 |
|
207 |
.popover-help-form {
|
272 |
.sib-gdpr-block-area label {
|
273 |
font-weight: 100;
|
274 |
margin-left: 5px;
|
275 |
+
}
|
js/admin.js
CHANGED
@@ -18,7 +18,7 @@ $jQ(document).ready(function(){
|
|
18 |
|
19 |
function isValidEmailAddress(emailAddress) {
|
20 |
|
21 |
-
var pattern = new RegExp(/^([
|
22 |
return pattern.test(emailAddress);
|
23 |
}
|
24 |
|
18 |
|
19 |
function isValidEmailAddress(emailAddress) {
|
20 |
|
21 |
+
var pattern = new RegExp(/^[#&*\/=?^{!}~'_a-z0-9-\+]+([#&*\/=?^{!}~'_a-z0-9-\+]+)*(\.[#&*\/=?^{!}~'_a-z0-9-\+]+)*[.]?@[_a-z0-9-]+(\.[_a-z0-9-]+)*(\.[a-z0-9]{2,10})$/);
|
22 |
return pattern.test(emailAddress);
|
23 |
}
|
24 |
|
js/mailin-front.js
CHANGED
@@ -5,7 +5,7 @@ var sibVerifyCallback = function(response){
|
|
5 |
{
|
6 |
var validationErr = 0;
|
7 |
jQuery.each(jQuery('.sib_signup_form').find('input[required=required]'), function(){
|
8 |
-
if(jQuery(this).val().trim()
|
9 |
{
|
10 |
validationErr++;
|
11 |
var form = jQuery(this).closest('form');
|
5 |
{
|
6 |
var validationErr = 0;
|
7 |
jQuery.each(jQuery('.sib_signup_form').find('input[required=required]'), function(){
|
8 |
+
if(jQuery(this).val().trim() == '' || (jQuery(this).attr('type') == "checkbox" && jQuery(this).prop("checked") == false))
|
9 |
{
|
10 |
validationErr++;
|
11 |
var form = jQuery(this).closest('form');
|
readme.txt
CHANGED
@@ -138,9 +138,14 @@ In order to create a signup form, you need to:
|
|
138 |
2. Integrate the form in a sidebar using a widget from WP panel > Appearance > Widgets. The Sendinblue widget form should appear in your widgets list, you just to have to drag and drop the widget into the sidebar of your choice.
|
139 |
|
140 |
== Changelog ==
|
141 |
-
= 2.
|
|
|
|
|
|
|
|
|
|
|
142 |
* Fixed date invalid format issue of form
|
143 |
-
*
|
144 |
|
145 |
= 2.9.15 =
|
146 |
* Sib_security token issue has been fixed
|
138 |
2. Integrate the form in a sidebar using a widget from WP panel > Appearance > Widgets. The Sendinblue widget form should appear in your widgets list, you just to have to drag and drop the widget into the sidebar of your choice.
|
139 |
|
140 |
== Changelog ==
|
141 |
+
= 2.9.17 =
|
142 |
+
* Plugin page css conflict design issue fixed
|
143 |
+
* Multiple V2 Google recaptcha for same page issue fixed
|
144 |
+
* updated regex for test email
|
145 |
+
|
146 |
+
= 2.9.16 =
|
147 |
* Fixed date invalid format issue of form
|
148 |
+
* fixed terms and condition not working with invisible captcha bug
|
149 |
|
150 |
= 2.9.15 =
|
151 |
* Sib_security token issue has been fixed
|
sendinblue.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue
|
4 |
* Plugin URI: https://www.sendinblue.com/?r=wporg
|
5 |
* Description: Easily send emails from your WordPress blog using Sendinblue SMTP and easily add a subscribe form to your site
|
6 |
-
* Version: 2.9.
|
7 |
* Author: Sendinblue
|
8 |
* Author URI: https://www.sendinblue.com/?r=wporg
|
9 |
* License: GPLv2 or later
|
@@ -491,13 +491,16 @@ if ( ! class_exists( 'SIB_Manager' ) ) {
|
|
491 |
if ( '3' == $formData['gCaptcha'] ) // The case of using google recaptcha.
|
492 |
{
|
493 |
?>
|
494 |
-
<script type="text/javascript">
|
495 |
var gCaptchaSibWidget;
|
496 |
var onloadSibCallback = function() {
|
497 |
-
|
|
|
|
|
498 |
'sitekey' : '<?php echo $formData["gCaptcha_site"] ?>'
|
499 |
-
|
500 |
-
|
|
|
501 |
</script>
|
502 |
<?php
|
503 |
}
|
3 |
* Plugin Name: Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue
|
4 |
* Plugin URI: https://www.sendinblue.com/?r=wporg
|
5 |
* Description: Easily send emails from your WordPress blog using Sendinblue SMTP and easily add a subscribe form to your site
|
6 |
+
* Version: 2.9.17
|
7 |
* Author: Sendinblue
|
8 |
* Author URI: https://www.sendinblue.com/?r=wporg
|
9 |
* License: GPLv2 or later
|
491 |
if ( '3' == $formData['gCaptcha'] ) // The case of using google recaptcha.
|
492 |
{
|
493 |
?>
|
494 |
+
<script type="text/javascript" charset="utf-8">
|
495 |
var gCaptchaSibWidget;
|
496 |
var onloadSibCallback = function() {
|
497 |
+
var recaptchas = document.querySelectorAll('div[id=sib_captcha]');
|
498 |
+
for( i = 0; i < recaptchas.length; i++) {
|
499 |
+
gCaptchaSibWidget = grecaptcha.render(recaptchas[i], {
|
500 |
'sitekey' : '<?php echo $formData["gCaptcha_site"] ?>'
|
501 |
+
});
|
502 |
+
}
|
503 |
+
}
|
504 |
</script>
|
505 |
<?php
|
506 |
}
|