Official MailerLite Sign Up Forms - Version 1.2.6

Version Description

Test new Wordpress

Download this release

Release Info

Developer mailerlite
Plugin Icon 128x128 Official MailerLite Sign Up Forms
Version 1.2.6
Comparing to
See all releases

Code changes from version 1.2.4 to 1.2.6

include/templates/admin/create.php CHANGED
@@ -28,7 +28,7 @@
28
 
29
  if (isset($webforms->Results) && is_array($webforms->Results))
30
  foreach ($webforms->Results as $webform) {
31
- if (!in_array($webform->type, array('embed', 'button'))) { continue; }
32
 
33
  $embed_button_webforms[] = $webform;
34
  }
@@ -58,4 +58,4 @@
58
  </div>
59
  </div>
60
  </div>
61
- </div>
28
 
29
  if (isset($webforms->Results) && is_array($webforms->Results))
30
  foreach ($webforms->Results as $webform) {
31
+ if (!in_array($webform->type, array('embed', 'embedded', 'button'))) { continue; }
32
 
33
  $embed_button_webforms[] = $webform;
34
  }
58
  </div>
59
  </div>
60
  </div>
61
+ </div>
include/templates/admin/edit_embedded.php CHANGED
@@ -34,8 +34,8 @@
34
  <td>
35
  <select id="form_webform_id" name="form_webform_id">
36
  <?php foreach ($webforms->Results as $webform): ?>
37
- <?php if (!in_array($webform->type, array('embed', 'button'))) { continue; } ?>
38
- <option data-code="<?php echo $webform->code; ?>"
39
  value="<?php echo $webform->id; ?>"<?php echo $webform->id == $form->data['id'] ? ' selected="selected"' : ''; ?>><?php echo $webform->name; ?> (<?php echo $webform->type;?>)</option>
40
  <?php endforeach; ?>
41
  </select>
@@ -93,4 +93,4 @@
93
  style: 'width:100%;height:350px;'
94
  }));
95
  }
96
- </script>
34
  <td>
35
  <select id="form_webform_id" name="form_webform_id">
36
  <?php foreach ($webforms->Results as $webform): ?>
37
+ <?php if (!in_array($webform->type, array('embed', 'embedded', 'button'))) { continue; } ?>
38
+ <option data-code="<?php echo $webform->code; ?>"
39
  value="<?php echo $webform->id; ?>"<?php echo $webform->id == $form->data['id'] ? ' selected="selected"' : ''; ?>><?php echo $webform->name; ?> (<?php echo $webform->type;?>)</option>
40
  <?php endforeach; ?>
41
  </select>
93
  style: 'width:100%;height:350px;'
94
  }));
95
  }
96
+ </script>
mailerlite.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  * Plugin Name: Official MailerLite Sign Up Forms
5
  * Description: Official MailerLite Sign Up Forms plugin for WordPress. Ability to embed MailerLite webforms and create custom ones just with few clicks.
6
- * Version: 1.2.4
7
  * Author: MailerGroup
8
  * Author URI: https://www.mailerlite.com
9
  * License: GPLv2 or later
@@ -27,7 +27,7 @@
27
  define('MAILERLITE_PLUGIN_DIR', plugin_dir_path(__FILE__));
28
  define('MAILERLITE_PLUGIN_URL', plugins_url('', __FILE__));
29
 
30
- define('MAILERLITE_VERSION', '1.2.4');
31
 
32
  define('MAILERLITE_PHP_VERSION', '5.0.1');
33
  define('MAILERLITE_WP_VERSION', '3.0.1');
3
  /**
4
  * Plugin Name: Official MailerLite Sign Up Forms
5
  * Description: Official MailerLite Sign Up Forms plugin for WordPress. Ability to embed MailerLite webforms and create custom ones just with few clicks.
6
+ * Version: 1.2.6
7
  * Author: MailerGroup
8
  * Author URI: https://www.mailerlite.com
9
  * License: GPLv2 or later
27
  define('MAILERLITE_PLUGIN_DIR', plugin_dir_path(__FILE__));
28
  define('MAILERLITE_PLUGIN_URL', plugins_url('', __FILE__));
29
 
30
+ define('MAILERLITE_VERSION', '1.2.6');
31
 
32
  define('MAILERLITE_PHP_VERSION', '5.0.1');
33
  define('MAILERLITE_WP_VERSION', '3.0.1');
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: mailerlite
3
  Donate link: https://www.mailerlite.com/
4
  Tags: mailerlite, newsletter, subscribe, form, webform
5
  Requires at least: 3.0.1
6
- Tested up to: 4.8
7
- Stable tag: 1.2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -127,6 +127,10 @@ Add your custom CSS rules to the end of your theme stylesheet, /wp-content/theme
127
 
128
  == Changelog ==
129
 
 
 
 
 
130
  = 1.2.4 =
131
  release fix
132
  = 1.2.3 =
@@ -230,6 +234,10 @@ translation errors for LT language, allowing only embed and button forms
230
 
231
  == Upgrade Notice ==
232
 
 
 
 
 
233
  = 1.2.4 =
234
  release fix
235
  = 1.2.3 =
3
  Donate link: https://www.mailerlite.com/
4
  Tags: mailerlite, newsletter, subscribe, form, webform
5
  Requires at least: 3.0.1
6
+ Tested up to: 4.9
7
+ Stable tag: 1.2.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
127
 
128
  == Changelog ==
129
 
130
+ = 1.2.6 =
131
+ Test new Wordpress
132
+ = 1.2.5 =
133
+ Updated forms (GDPR compatible)
134
  = 1.2.4 =
135
  release fix
136
  = 1.2.3 =
234
 
235
  == Upgrade Notice ==
236
 
237
+ = 1.2.6 =
238
+ Test new Wordpress
239
+ = 1.2.5 =
240
+ Updated forms (GDPR compatible)
241
  = 1.2.4 =
242
  release fix
243
  = 1.2.3 =