MailPoet Newsletters (Previous) - Version 2.18

Version Description

  • 2021-12-03 =
  • Fixed: subscription form rendering issue;
  • Fixed: newsletter archive issue.
Download this release

Release Info

Developer MailPoet
Plugin Icon 128x128 MailPoet Newsletters (Previous)
Version 2.18
Comparing to
See all releases

Code changes from version 2.17 to 2.18

core/base.php CHANGED
@@ -19,7 +19,7 @@ class WYSIJA_object{
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
- static $version = '2.17';
23
 
24
  function __construct(){}
25
 
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
+ static $version = '2.18';
23
 
24
  function __construct(){}
25
 
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailPoet 2
4
  Plugin URI: http://www.mailpoet.com/
5
  Description: Create and send newsletters or automated emails. Capture subscribers with a widget. Import and manage your lists. This version is being replaced by MailPoet 3. Support offered to Premium customers only. Updates are limited to security issues.
6
- Version: 2.17
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
3
  Plugin Name: MailPoet 2
4
  Plugin URI: http://www.mailpoet.com/
5
  Description: Create and send newsletters or automated emails. Capture subscribers with a widget. Import and manage your lists. This version is being replaced by MailPoet 3. Support offered to Premium customers only. Updates are limited to security issues.
6
+ Version: 2.18
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
modules/archive_std/archive_std_model.php CHANGED
@@ -34,9 +34,10 @@ class WYSIJA_model_archive_std extends WYSIJA_model {
34
  $where[] = 'e.`status` IN ('.implode(',', $this->email_status).')';
35
  $where[] = 'e.`sent_at` IS NOT NULL';
36
  $where_join = '';
37
- if (!empty($list_ids))
38
- $list_ids = array_map('intval', $list_ids);
39
- $where_join = ' AND cl.`list_id` IN ('.implode(',', $list_ids).')';
 
40
  $query = '
41
  SELECT
42
  e.`email_id`,
34
  $where[] = 'e.`status` IN ('.implode(',', $this->email_status).')';
35
  $where[] = 'e.`sent_at` IS NOT NULL';
36
  $where_join = '';
37
+ if (!empty($list_ids)) {
38
+ $list_ids = array_map('intval', $list_ids);
39
+ $where_join = ' AND cl.`list_id` IN ('.implode(',', $list_ids).')';
40
+ }
41
  $query = '
42
  SELECT
43
  e.`email_id`,
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mailpoet
3
  Tags: newsletter, email, welcome email, post notification, autoresponder, signup, subscription, SMTP
4
  Requires at least: 3.5
5
  Tested up to: 5.5
6
- Stable tag: 2.17
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
@@ -113,6 +113,10 @@ Our [support site](https://www.mailpoet.com/support) has plenty of articles and
113
 
114
  == Changelog ==
115
 
 
 
 
 
116
  = 2.17 - 2021-11-10 =
117
  * Fixed security issues.
118
 
3
  Tags: newsletter, email, welcome email, post notification, autoresponder, signup, subscription, SMTP
4
  Requires at least: 3.5
5
  Tested up to: 5.5
6
+ Stable tag: 2.18
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
113
 
114
  == Changelog ==
115
 
116
+ = 2.18 - 2021-12-03 =
117
+ * Fixed: subscription form rendering issue;
118
+ * Fixed: newsletter archive issue.
119
+
120
  = 2.17 - 2021-11-10 =
121
  * Fixed security issues.
122
 
tools/templates/form/web/widgets/input.html CHANGED
@@ -1,7 +1,7 @@
1
  <p class="wysija-paragraph">
2
  {if ! #params.label_within}<label>{#params.label|esc_html}{if #params.required} <span class="wysija-required">*</span>{/if}</label>{/if}
3
  {if !#params.lines || #params.lines == 1}
4
- <input type="text" name="{#field_prefix}[{#field}]" class="wysija-input {$validation}" title="{#params.label|esc_attr}" {if #params.label_within}placeholder="{#params.label|esc_attr"{/if} value="{if #value}{#value|html_value}{/if}" />
5
  {/if}
6
  {if #params.lines > 1}
7
  <textarea name="" class="wysija-textarea {$validation}"></textarea>
1
  <p class="wysija-paragraph">
2
  {if ! #params.label_within}<label>{#params.label|esc_html}{if #params.required} <span class="wysija-required">*</span>{/if}</label>{/if}
3
  {if !#params.lines || #params.lines == 1}
4
+ <input type="text" name="{#field_prefix}[{#field}]" class="wysija-input {$validation}" title="{#params.label|esc_attr}" {if #params.label_within}placeholder="{#params.label|esc_attr}"{/if} value="{if #value}{#value|html_value}{/if}" />
5
  {/if}
6
  {if #params.lines > 1}
7
  <textarea name="" class="wysija-textarea {$validation}"></textarea>