MailPoet Newsletters (Previous) - Version 2.7.5

Version Description

  • 2016-08-18 =
  • Fixed subscription form widget
Download this release

Release Info

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

Code changes from version 2.7.4 to 2.7.5

controllers/front/subscribers.php CHANGED
@@ -92,6 +92,9 @@ class WYSIJA_control_front_subscribers extends WYSIJA_control_front{
92
  //fill the widget data array based on the parameters found earlier
93
  if($encoded_form){
94
  foreach($encoded_form as $key =>$val) {
 
 
 
95
  $widget_data[$key]=$val;
96
 
97
  //if the value is an object we need to loop through and make an array of it
92
  //fill the widget data array based on the parameters found earlier
93
  if($encoded_form){
94
  foreach($encoded_form as $key =>$val) {
95
+ if (in_array($key, array('before_widget', 'after_widget', 'before_title', 'title', 'after_title'))) {
96
+ $val = sanitize_text_field($val);
97
+ }
98
  $widget_data[$key]=$val;
99
 
100
  //if the value is an object we need to loop through and make an array of it
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.7.4';
23
 
24
  function __construct(){}
25
 
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
+ static $version = '2.7.5';
23
 
24
  function __construct(){}
25
 
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailPoet Newsletters
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. MailPoet is a sweet plugin maintained and supported with love.
6
- Version: 2.7.4
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
3
  Plugin Name: MailPoet Newsletters
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. MailPoet is a sweet plugin maintained and supported with love.
6
+ Version: 2.7.5
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
languages/wysija-newsletters-es_AR.mo CHANGED
Binary file
languages/wysija-newsletters-fr_CA.mo CHANGED
Binary file
languages/wysija-newsletters-pt_BR.mo CHANGED
Binary file
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wysija
3
  Tags: newsletter, newsletters, email newsletter, email subscription, newsletter signup, post notification, autoresponder, newsletter alert, auto newsletter, automatic post notification, email newsletters, email signup, auto post notifications, newsletter widget, newsletter builder, subscribe widget, signup widget, email subscription, newsletter plugin, widget, subscription, emailing, mailpoet, wysija, mandrill, sendgrid
4
  Requires at least: 3.5
5
- Tested up to: 4.5.3
6
- Stable tag: 2.7.4
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
@@ -132,6 +132,9 @@ Our [support site](http://support.mailpoet.com/) has plenty of articles and a ti
132
 
133
  == Changelog ==
134
 
 
 
 
135
  = 2.7.4 - 2016-08-09 =
136
  * Fixed error appearing during newsletter creation
137
 
2
  Contributors: wysija
3
  Tags: newsletter, newsletters, email newsletter, email subscription, newsletter signup, post notification, autoresponder, newsletter alert, auto newsletter, automatic post notification, email newsletters, email signup, auto post notifications, newsletter widget, newsletter builder, subscribe widget, signup widget, email subscription, newsletter plugin, widget, subscription, emailing, mailpoet, wysija, mandrill, sendgrid
4
  Requires at least: 3.5
5
+ Tested up to: 4.7
6
+ Stable tag: 2.7.5
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
132
 
133
  == Changelog ==
134
 
135
+ = 2.7.5 - 2016-08-18 =
136
+ * Fixed subscription form widget
137
+
138
  = 2.7.4 - 2016-08-09 =
139
  * Fixed error appearing during newsletter creation
140
 
widgets/wysija_nl.php CHANGED
@@ -236,8 +236,6 @@ class WYSIJA_NL_Widget extends WP_Widget {
236
  }
237
 
238
  function widget( $args, $instance = null ) {
239
- // this lines feed local variables such as $before_widget ,$after_widget etc...
240
- $args = array_map('sanitize_text_field', $args);
241
  extract( $args );
242
 
243
  //in some case we may pass only one argument, in which case we will just assign the first to the second
236
  }
237
 
238
  function widget( $args, $instance = null ) {
 
 
239
  extract( $args );
240
 
241
  //in some case we may pass only one argument, in which case we will just assign the first to the second