Newsletter - Version 6.0.6

Version Description

  • Fixed the textual part saving
  • Fixed required check on extra field of type "select"
  • Fixed old CTA theme text part
Download this release

Release Info

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

Code changes from version 6.0.5 to 6.0.6

admin.css CHANGED
@@ -728,16 +728,11 @@ p.description {
728
  }
729
 
730
  .tnp-theme-preview img:hover {
731
- border: 5px solid #FD5F65;
732
- border-radius: 10px;
733
- padding: 5px;
734
- background-color: #FD5F65;
735
  }
736
 
737
  .tnp-theme-preview img {
738
- border: 5px solid transparent;
739
  border-radius: 10px;
740
- padding: 5px;
741
  }
742
 
743
 
728
  }
729
 
730
  .tnp-theme-preview img:hover {
731
+ box-shadow: 3px 3px 8px 2px #293848;
 
 
 
732
  }
733
 
734
  .tnp-theme-preview img {
 
735
  border-radius: 10px;
 
736
  }
737
 
738
 
emails/edit.php CHANGED
@@ -117,6 +117,7 @@ if ($controls->is_action('test') || $controls->is_action('save') || $controls->i
117
  $email['subject'] = $controls->data['subject'];
118
  $email['track'] = $controls->data['track'];
119
  $email['private'] = $controls->data['private'];
 
120
  if ($controls->is_action('send')) {
121
  $email['send_on'] = time();
122
  } else {
117
  $email['subject'] = $controls->data['subject'];
118
  $email['track'] = $controls->data['track'];
119
  $email['private'] = $controls->data['private'];
120
+ $email['message_text'] = $controls->data['message_text'];
121
  if ($controls->is_action('send')) {
122
  $email['send_on'] = time();
123
  } else {
emails/images/composer.gif CHANGED
Binary file
emails/themes/cta-2015/theme-text.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) exit;
3
+ ?>
4
+ This email requires a modern e-mail reader but you can view the email online here:
5
+
6
+ {email_url}.
7
+
8
+ Thank you, <?php echo wp_specialchars_decode(get_option('blogname'), ENT_QUOTES); ?>
9
+
10
+ To change your subscription follow:
11
+ {profile_url}.
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: 6.0.5
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.
@@ -29,7 +29,7 @@
29
  */
30
 
31
  // Used as dummy parameter on css and js links
32
- define('NEWSLETTER_VERSION', '6.0.5');
33
 
34
  global $newsletter, $wpdb;
35
 
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: 6.0.6
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.
29
  */
30
 
31
  // Used as dummy parameter on css and js links
32
+ define('NEWSLETTER_VERSION', '6.0.6');
33
 
34
  global $newsletter, $wpdb;
35
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
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: 5.2.1
5
- Stable tag: 6.0.5
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -17,6 +17,11 @@ send and track e-mails, headache-free. It just works out of box!
17
  Newsletter is a continuously evolving plugin. Stay tuned following us on
18
  [Facebook](https://www.facebook.com/thenewsletterplugin/) or [Twitter](https://twitter.com/newsletterwp).
19
 
 
 
 
 
 
20
  = Main Features =
21
 
22
  * **Unlimited subscribers** with statistics
@@ -122,6 +127,12 @@ Thank you, The Newsletter Team
122
 
123
  == Changelog ==
124
 
 
 
 
 
 
 
125
  = 6.0.5 =
126
 
127
  * Fixed repated CSS inclusion in emails
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: 5.2.1
5
+ Stable tag: 6.0.6
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
17
  Newsletter is a continuously evolving plugin. Stay tuned following us on
18
  [Facebook](https://www.facebook.com/thenewsletterplugin/) or [Twitter](https://twitter.com/newsletterwp).
19
 
20
+ = Discover a completely rewritten composer =
21
+
22
+ We redesigned our drag and drop composer to make your campaign creation even
23
+ easier. Try it!
24
+
25
  = Main Features =
26
 
27
  * **Unlimited subscribers** with statistics
127
 
128
  == Changelog ==
129
 
130
+ = 6.0.6 =
131
+
132
+ * Fixed the textual part saving
133
+ * Fixed required check on extra field of type "select"
134
+ * Fixed old CTA theme text part
135
+
136
  = 6.0.5 =
137
 
138
  * Fixed repated CSS inclusion in emails
subscription/subscription.php CHANGED
@@ -1491,7 +1491,7 @@ class NewsletterSubscription extends NewsletterModule {
1491
 
1492
  // Select field
1493
  if ($options_profile['profile_' . $i . '_type'] == 'select') {
1494
- $buffer .= '<select class="tnp-profile tnp-profile-' . $i . '" name="np' . $i . '" required>' . "\n";
1495
  $buffer .= "<option></option>\n";
1496
  $opts = explode(',', $options_profile['profile_' . $i . '_options']);
1497
  for ($j = 0; $j < count($opts); $j++) {
1491
 
1492
  // Select field
1493
  if ($options_profile['profile_' . $i . '_type'] == 'select') {
1494
+ $buffer .= '<select class="tnp-profile tnp-profile-' . $i . '" name="np' . $i . '" ' . ($options_profile['profile_' . $i . '_rules'] == 1 ? ' required' : '') . '>' . "\n";
1495
  $buffer .= "<option></option>\n";
1496
  $opts = explode(',', $options_profile['profile_' . $i . '_options']);
1497
  for ($j = 0; $j < count($opts); $j++) {