Version Description
- We have fixed the syntax error at different form files.
Download this release
Release Info
Developer | gouravgupta24 |
Plugin | SendinBlue Subscribe Form And WP SMTP |
Version | 3.1.51 |
Comparing to | |
See all releases |
Code changes from version 3.1.50 to 3.1.51
- inc/SendinblueApiClient.php +1 -1
- model/model-forms.php +1 -1
- page/page-form.php +1 -1
- readme.txt +4 -1
- sendinblue.php +1 -1
inc/SendinblueApiClient.php
CHANGED
@@ -14,7 +14,7 @@ class SendinblueApiClient
|
|
14 |
const RESPONSE_CODE_CREATED = 201;
|
15 |
const RESPONSE_CODE_ACCEPTED = 202;
|
16 |
const RESPONSE_CODE_UNAUTHORIZED = 401;
|
17 |
-
const PLUGIN_VERSION = '3.1.
|
18 |
const USER_AGENT = 'sendinblue_plugins/wordpress';
|
19 |
|
20 |
private $apiKey;
|
14 |
const RESPONSE_CODE_CREATED = 201;
|
15 |
const RESPONSE_CODE_ACCEPTED = 202;
|
16 |
const RESPONSE_CODE_UNAUTHORIZED = 401;
|
17 |
+
const PLUGIN_VERSION = '3.1.51';
|
18 |
const USER_AGENT = 'sendinblue_plugins/wordpress';
|
19 |
|
20 |
private $apiKey;
|
model/model-forms.php
CHANGED
@@ -169,7 +169,7 @@ if ( ! class_exists( 'SIB_Forms' ) ) {
|
|
169 |
foreach ($country_list as $item => $value) {
|
170 |
$checkCountryCode = $value['code'];
|
171 |
if ($checkCountryCode == $countryCode) {
|
172 |
-
$flg_url = plugins_url('mailin/img/flags/'
|
173 |
$results['html'] = str_replace(
|
174 |
'class="sib-cflags"',
|
175 |
'class="sib-cflags" id="' . $frmID . '" style="background-image: url(' . $flg_url . ');"',
|
169 |
foreach ($country_list as $item => $value) {
|
170 |
$checkCountryCode = $value['code'];
|
171 |
if ($checkCountryCode == $countryCode) {
|
172 |
+
$flg_url = plugins_url('mailin/img/flags/') . strtolower($item) . '.png';
|
173 |
$results['html'] = str_replace(
|
174 |
'class="sib-cflags"',
|
175 |
'class="sib-cflags" id="' . $frmID . '" style="background-image: url(' . $flg_url . ');"',
|
page/page-form.php
CHANGED
@@ -340,7 +340,7 @@ if ( ! class_exists( 'SIB_Page_Form' ) ) {
|
|
340 |
</button>
|
341 |
<div style="display:none">
|
342 |
<input id="getDomain" value="<?php
|
343 |
-
echo plugins_url('mailin/img/flags/'
|
344 |
</div>
|
345 |
<?php SIB_Page_Home::get_narration_script( __( 'Add to form', 'mailin' ), __( 'Please click where you want to insert the field and click on this button. By default, the new field will be added at top.', 'mailin' ) ); ?>
|
346 |
</div>
|
340 |
</button>
|
341 |
<div style="display:none">
|
342 |
<input id="getDomain" value="<?php
|
343 |
+
echo plugins_url('mailin/img/flags/') ?>"></input>
|
344 |
</div>
|
345 |
<?php SIB_Page_Home::get_narration_script( __( 'Add to form', 'mailin' ), __( 'Please click where you want to insert the field and click on this button. By default, the new field will be added at top.', 'mailin' ) ); ?>
|
346 |
</div>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: Email Marketing, Newsletter, Sendinblue, Forms, smtp, marketing automation
|
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 6.0.2
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 3.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -116,6 +116,9 @@ In order to create a signup form, you need to:
|
|
116 |
|
117 |
== Changelog ==
|
118 |
|
|
|
|
|
|
|
119 |
= 3.1.50 =
|
120 |
* We’ve fixed the form previewer for the country flag attached to the SMS number field.
|
121 |
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 6.0.2
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 3.1.51
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
116 |
|
117 |
== Changelog ==
|
118 |
|
119 |
+
= 3.1.51 =
|
120 |
+
* We have fixed the syntax error at different form files.
|
121 |
+
|
122 |
= 3.1.50 =
|
123 |
* We’ve fixed the form previewer for the country flag attached to the SMS number field.
|
124 |
|
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: Manage your contact lists, subscription forms and all email and marketing-related topics from your wp panel, within one single plugin
|
6 |
-
* Version: 3.1.
|
7 |
* Author: Sendinblue
|
8 |
* Author URI: https://www.sendinblue.com/?r=wporg
|
9 |
* License: GPLv2 or later
|
3 |
* Plugin Name: Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue
|
4 |
* Plugin URI: https://www.sendinblue.com/?r=wporg
|
5 |
* Description: Manage your contact lists, subscription forms and all email and marketing-related topics from your wp panel, within one single plugin
|
6 |
+
* Version: 3.1.51
|
7 |
* Author: Sendinblue
|
8 |
* Author URI: https://www.sendinblue.com/?r=wporg
|
9 |
* License: GPLv2 or later
|