SendinBlue Subscribe Form And WP SMTP - Version 3.1.10

Version Description

Improvements

  • Fixed few minor bugs and notices
Download this release

Release Info

Developer amarsib
Plugin Icon 128x128 SendinBlue Subscribe Form And WP SMTP
Version 3.1.10
Comparing to
See all releases

Code changes from version 3.1.9 to 3.1.10

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.9';
18
 
19
  private $apiKey;
20
  private $lastResponseCode;
14
  const RESPONSE_CODE_CREATED = 201;
15
  const RESPONSE_CODE_ACCEPTED = 202;
16
  const RESPONSE_CODE_UNAUTHORIZED = 401;
17
+ const PLUGIN_VERSION = '3.1.10';
18
 
19
  private $apiKey;
20
  private $lastResponseCode;
page/page-form.php CHANGED
@@ -80,7 +80,7 @@ if ( ! class_exists( 'SIB_Page_Form' ) ) {
80
  'compliance_note' => $this->defaultComplianceNote
81
  )
82
  );
83
- wp_localize_script( 'sib-admin-js', 'sib_img_url', SIB_Manager::$plugin_url.'/img/flags/' );
84
  }
85
 
86
  /**
80
  'compliance_note' => $this->defaultComplianceNote
81
  )
82
  );
83
+ wp_localize_script( 'sib-admin-js', 'sib_img_url', array(SIB_Manager::$plugin_url.'/img/flags/') );
84
  }
85
 
86
  /**
page/page-home.php CHANGED
@@ -800,8 +800,8 @@ if ( ! class_exists( 'SIB_Page_Home' ) ) {
800
  $params["shop_version"] = $wp_version;
801
  }
802
  $params["shop_url"] = get_home_url();
803
- $params["created_at"] = gmdate("Y-m-d\TH:i:s.v\Z");
804
- $params["activated_at"] = gmdate("Y-m-d\TH:i:s.v\Z");
805
  $params["type"] = "sib";
806
  $response = $apiClient->createInstallationInfo($params);
807
  if ( $apiClient->getLastResponseCode() === SendinblueApiClient::RESPONSE_CODE_CREATED )
@@ -819,7 +819,7 @@ if ( ! class_exists( 'SIB_Page_Home' ) ) {
819
  {
820
  $apiClient = new SendinblueApiClient();
821
  $params["active"] = false;
822
- $params["deactivated_at"] = gmdate("Y-m-d\TH:i:s.v\Z");
823
  $apiClient->updateInstallationInfo($installationId, $params);
824
  }
825
  }
800
  $params["shop_version"] = $wp_version;
801
  }
802
  $params["shop_url"] = get_home_url();
803
+ $params["created_at"] = gmdate("Y-m-d\TH:i:s\Z");
804
+ $params["activated_at"] = gmdate("Y-m-d\TH:i:s\Z");
805
  $params["type"] = "sib";
806
  $response = $apiClient->createInstallationInfo($params);
807
  if ( $apiClient->getLastResponseCode() === SendinblueApiClient::RESPONSE_CODE_CREATED )
819
  {
820
  $apiClient = new SendinblueApiClient();
821
  $params["active"] = false;
822
+ $params["deactivated_at"] = gmdate("Y-m-d\TH:i:s\Z");
823
  $apiClient->updateInstallationInfo($installationId, $params);
824
  }
825
  }
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: neeraj_slit
3
  Tags: sendinblue, marketing automation, email marketing, email campaign, newsletter, wordpress smtp, subscription form, phpmailer, SMTP, wp_mail, massive email, sendmail, ssl, tls, wp-phpmailer, mail smtp, mailchimp, newsletters, email plugin, signup form, email widget, widget, plugin, sidebar, shortcode
4
  Requires at least: 4.4
5
- Tested up to: 5.6
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -115,6 +115,11 @@ In order to create a signup form, you need to:
115
 
116
  == Changelog ==
117
 
 
 
 
 
 
118
  = 3.1.9 =
119
  **Improvements**
120
 
2
  Contributors: neeraj_slit
3
  Tags: sendinblue, marketing automation, email marketing, email campaign, newsletter, wordpress smtp, subscription form, phpmailer, SMTP, wp_mail, massive email, sendmail, ssl, tls, wp-phpmailer, mail smtp, mailchimp, newsletters, email plugin, signup form, email widget, widget, plugin, sidebar, shortcode
4
  Requires at least: 4.4
5
+ Tested up to: 5.7.1
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
115
 
116
  == Changelog ==
117
 
118
+ = 3.1.10 =
119
+ **Improvements**
120
+
121
+ * Fixed few minor bugs and notices
122
+
123
  = 3.1.9 =
124
  **Improvements**
125
 
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.9
7
  * Author: Sendinblue
8
  * Author URI: https://www.sendinblue.com/?r=wporg
9
  * License: GPLv2 or later
@@ -559,7 +559,7 @@ if ( ! class_exists( 'SIB_Manager' ) ) {
559
  ?>
560
  <form id="sib_signup_form_<?php echo esc_attr( $frmID ); ?>" method="post" class="sib_signup_form">
561
  <div class="sib_loader" style="display:none;"><img
562
- src="<?php echo esc_url( includes_url() ); ?>/images/spinner.gif" alt="loader"></div>
563
  <input type="hidden" name="sib_form_action" value="subscribe_form_submit">
564
  <input type="hidden" name="sib_form_id" value="<?php echo esc_attr( $frmID ); ?>">
565
  <input type="hidden" name="sib_form_alert_notice" value="<?php echo esc_attr($formData['requiredMsg']); ?>">
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.10
7
  * Author: Sendinblue
8
  * Author URI: https://www.sendinblue.com/?r=wporg
9
  * License: GPLv2 or later
559
  ?>
560
  <form id="sib_signup_form_<?php echo esc_attr( $frmID ); ?>" method="post" class="sib_signup_form">
561
  <div class="sib_loader" style="display:none;"><img
562
+ src="<?php echo esc_url( includes_url() ); ?>images/spinner.gif" alt="loader"></div>
563
  <input type="hidden" name="sib_form_action" value="subscribe_form_submit">
564
  <input type="hidden" name="sib_form_id" value="<?php echo esc_attr( $frmID ); ?>">
565
  <input type="hidden" name="sib_form_alert_notice" value="<?php echo esc_attr($formData['requiredMsg']); ?>">