Newsletter - Version 4.6.5

Version Description

  • Fixed the style stripped when switching back and forth betwenn the visual and raw editor (from version 4.6.4)
Download this release

Release Info

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

Code changes from version 4.6.4 to 4.6.5

Files changed (3) hide show
  1. emails/edit.php +2 -1
  2. plugin.php +2 -2
  3. readme.txt +5 -1
emails/edit.php CHANGED
@@ -32,7 +32,8 @@ if (!$controls->is_action()) {
32
  if ($controls->is_action('test') || $controls->is_action('save') || $controls->is_action('send') || $controls->is_action('editor')) {
33
 
34
  // If we were editing with visual editor (==0), we must read the extra <body> content
35
- $email['message'] = str_ireplace('<script', '', $controls->data['message']);
 
36
  if ($email['editor'] == 0) {
37
  $x = strpos($email['message'], '<body');
38
  if ($x !== false) {
32
  if ($controls->is_action('test') || $controls->is_action('save') || $controls->is_action('send') || $controls->is_action('editor')) {
33
 
34
  // If we were editing with visual editor (==0), we must read the extra <body> content
35
+ $controls->data['message'] = str_ireplace('<script', '<noscript', $controls->data['message']);
36
+ $controls->data['message'] = str_ireplace('</script', '</noscript', $controls->data['message']);
37
  if ($email['editor'] == 0) {
38
  $x = strpos($email['message'], '<body');
39
  if ($x !== false) {
plugin.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Newsletter
5
  Plugin URI: http://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="http://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
7
- Version: 4.6.4
8
  Author: Stefano Lissa & The Newsletter Team
9
  Author URI: http://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', '4.6.4');
18
 
19
  global $wpdb, $newsletter;
20
 
4
  Plugin Name: Newsletter
5
  Plugin URI: http://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="http://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
7
+ Version: 4.6.5
8
  Author: Stefano Lissa & The Newsletter Team
9
  Author URI: http://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', '4.6.5');
18
 
19
  global $wpdb, $newsletter;
20
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
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.6.1
5
- Stable tag: 4.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.
@@ -77,6 +77,10 @@ Thank you, The Newsletter Team
77
 
78
  == Changelog ==
79
 
 
 
 
 
80
  = 4.6.4 =
81
 
82
  * Fixed the profile link in admin panels
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.6.1
5
+ Stable tag: 4.6.5
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
77
 
78
  == Changelog ==
79
 
80
+ = 4.6.5 =
81
+
82
+ * Fixed the style stripped when switching back and forth betwenn the visual and raw editor (from version 4.6.4)
83
+
84
  = 4.6.4 =
85
 
86
  * Fixed the profile link in admin panels