SendinBlue Subscribe Form And WP SMTP - Version 3.0.1

Version Description

  • Fix login process with api v3 key
Download this release

Release Info

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

Code changes from version 3.0.0 to 3.0.1

Files changed (3) hide show
  1. inc/sib-api-manager.php +2 -3
  2. readme.txt +3 -0
  3. sendinblue.php +1 -1
inc/sib-api-manager.php CHANGED
@@ -216,7 +216,6 @@ if ( ! class_exists( 'SIB_API_Manager' ) ) {
216
  delete_transient( 'sib_attributes_' . md5( SIB_Manager::$access_key ) );
217
  delete_transient( 'sib_template_' . md5( SIB_Manager::$access_key ) );
218
  delete_transient( 'sib_senders_' . md5( SIB_Manager::$access_key ) );
219
- delete_transient( SIB_Manager::API_KEY_V3_OPTION_NAME);
220
  }
221
 
222
  /**
@@ -841,8 +840,8 @@ if ( ! class_exists( 'SIB_API_Manager' ) ) {
841
 
842
  if ( ! $isEmpty ) {
843
  $data = [
 
844
  'enumeration' => [
845
- 'type' => 'category',
846
  [
847
  'value' => 1,
848
  'label' => 'Yes'
@@ -853,7 +852,7 @@ if ( ! class_exists( 'SIB_API_Manager' ) ) {
853
  ],
854
  ]
855
  ];
856
- $client->createAttribute('category', 'DOUBLE_OPT', $data);
857
  }
858
  }
859
 
216
  delete_transient( 'sib_attributes_' . md5( SIB_Manager::$access_key ) );
217
  delete_transient( 'sib_template_' . md5( SIB_Manager::$access_key ) );
218
  delete_transient( 'sib_senders_' . md5( SIB_Manager::$access_key ) );
 
219
  }
220
 
221
  /**
840
 
841
  if ( ! $isEmpty ) {
842
  $data = [
843
+ 'type' => 'category',
844
  'enumeration' => [
 
845
  [
846
  'value' => 1,
847
  'label' => 'Yes'
852
  ],
853
  ]
854
  ];
855
+ $mailin->createAttribute('category', 'DOUBLE_OPT', $data);
856
  }
857
  }
858
 
readme.txt CHANGED
@@ -112,6 +112,9 @@ In order to create a signup form, you need to:
112
  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.
113
 
114
  == Changelog ==
 
 
 
115
  = 3.0.0 =
116
  * migrate to API v3
117
  * remove iframe depended views
112
  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.
113
 
114
  == Changelog ==
115
+ = 3.0.1 =
116
+ * Fix login process with api v3 key
117
+
118
  = 3.0.0 =
119
  * migrate to API v3
120
  * remove iframe depended views
sendinblue.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Sendinblue Subscribe Form And WP SMTP
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: 3.0.0
7
  * Author: Sendinblue
8
  * Author URI: https://www.sendinblue.com/?r=wporg
9
  * License: GPLv2 or later
3
  * Plugin Name: Sendinblue Subscribe Form And WP SMTP
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: 3.0.1
7
  * Author: Sendinblue
8
  * Author URI: https://www.sendinblue.com/?r=wporg
9
  * License: GPLv2 or later