Newsletter - Version 5.6.4

Version Description

  • Fixed reactivation message display
Download this release

Release Info

Developer satollo
Plugin Icon 128x128 Newsletter
Version 5.6.4
Comparing to
See all releases

Code changes from version 5.6.3 to 5.6.4

Files changed (3) hide show
  1. plugin.php +2 -2
  2. readme.txt +6 -2
  3. unsubscription/unsubscription.php +3 -2
plugin.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Newsletter
5
  Plugin URI: https://www.thenewsletterplugin.com/plugins/newsletter
6
  Description: Newsletter is a cool plugin to create your own subscriber list, to send newsletters, to build your business. <strong>Before update give a look to <a href="https://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
7
- Version: 5.6.3
8
  Author: Stefano Lissa & The Newsletter Team
9
  Author URI: https://www.thenewsletterplugin.com
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
@@ -14,7 +14,7 @@
14
  */
15
 
16
  // Used as dummy parameter on css and js links
17
- define('NEWSLETTER_VERSION', '5.6.3');
18
 
19
  global $newsletter, $wpdb;
20
 
4
  Plugin Name: Newsletter
5
  Plugin URI: https://www.thenewsletterplugin.com/plugins/newsletter
6
  Description: Newsletter is a cool plugin to create your own subscriber list, to send newsletters, to build your business. <strong>Before update give a look to <a href="https://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
7
+ Version: 5.6.4
8
  Author: Stefano Lissa & The Newsletter Team
9
  Author URI: https://www.thenewsletterplugin.com
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
14
  */
15
 
16
  // Used as dummy parameter on css and js links
17
+ define('NEWSLETTER_VERSION', '5.6.4');
18
 
19
  global $newsletter, $wpdb;
20
 
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Newsletter ===
2
- Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated
3
  Requires at least: 3.4.0
4
  Tested up to: 4.9.7
5
- Stable tag: 5.6.3
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -108,6 +108,10 @@ Thank you, The Newsletter Team
108
 
109
  == Changelog ==
110
 
 
 
 
 
111
  = 5.6.3 =
112
 
113
  * Removed unused files
1
  === Newsletter ===
2
+ Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated,mailing list
3
  Requires at least: 3.4.0
4
  Tested up to: 4.9.7
5
+ Stable tag: 5.6.4
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
108
 
109
  == Changelog ==
110
 
111
+ = 5.6.4 =
112
+
113
+ * Fixed reactivation message display
114
+
115
  = 5.6.3 =
116
 
117
  * Removed unused files
unsubscription/unsubscription.php CHANGED
@@ -66,9 +66,10 @@ class NewsletterUnsubscription extends NewsletterModule {
66
  case 'reactivate':
67
  if ($this->antibot_form_check()) {
68
  $user = $this->reactivate();
69
- $this->show_message('reactivated', $user);
 
70
  } else {
71
- $this->request_to_antibot_form('Unsubscribe');
72
  }
73
  die();
74
 
66
  case 'reactivate':
67
  if ($this->antibot_form_check()) {
68
  $user = $this->reactivate();
69
+ $url = $this->build_message_url(null, 'reactivated', $user);
70
+ wp_redirect($url);
71
  } else {
72
+ $this->request_to_antibot_form('Reactivate');
73
  }
74
  die();
75