Newsletter - Version 6.0.4

Version Description

  • Fixed the hero block
Download this release

Release Info

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

Code changes from version 6.0.3 to 6.0.4

emails/blocks/hero/block.php CHANGED
@@ -9,7 +9,7 @@
9
  /* @var $wpdb wpdb */
10
 
11
  $defaults = array(
12
- 'url' => '',
13
  'title' => 'An Awesome Title',
14
  'text' => 'This is just a simple text you should change',
15
  'font_family' => 'Helvetica, Arial, sans-serif',
@@ -38,7 +38,7 @@ if ($layout == 'full') {
38
  } else {
39
  $options = array_merge(array('block_padding_left'=>15, 'block_padding_right'=>15), $options);
40
  }
41
- $url = $options['url'];
42
 
43
  $font_family = $options['font_family'];
44
  $font_size = $options['font_size'];
9
  /* @var $wpdb wpdb */
10
 
11
  $defaults = array(
12
+ 'button_url' => '',
13
  'title' => 'An Awesome Title',
14
  'text' => 'This is just a simple text you should change',
15
  'font_family' => 'Helvetica, Arial, sans-serif',
38
  } else {
39
  $options = array_merge(array('block_padding_left'=>15, 'block_padding_right'=>15), $options);
40
  }
41
+ $url = $options['button_url'];
42
 
43
  $font_family = $options['font_family'];
44
  $font_size = $options['font_size'];
includes/fields.php CHANGED
@@ -188,7 +188,7 @@ class NewsletterFields {
188
 
189
  if ($attrs['url']) {
190
  $value = $this->controls->get_value($name . '_url');
191
- echo '<input id="', $this->_id($name), '" placeholder="', esc_attr($attrs['url_placeholder']), '" name="options[' . $name . '_url]" type="url"';
192
  echo ' style="width: 200px"';
193
  echo ' value="', esc_attr($value), '">';
194
  }
188
 
189
  if ($attrs['url']) {
190
  $value = $this->controls->get_value($name . '_url');
191
+ echo '<input id="', $this->_id($name . '_url'), '" placeholder="', esc_attr($attrs['url_placeholder']), '" name="options[' . $name . '_url]" type="url"';
192
  echo ' style="width: 200px"';
193
  echo ' value="', esc_attr($value), '">';
194
  }
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.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.
@@ -29,7 +29,7 @@
29
  */
30
 
31
  // Used as dummy parameter on css and js links
32
- define('NEWSLETTER_VERSION', '6.0.3');
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.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.
29
  */
30
 
31
  // Used as dummy parameter on css and js links
32
+ define('NEWSLETTER_VERSION', '6.0.4');
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.3
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -122,6 +122,10 @@ Thank you, The Newsletter Team
122
 
123
  == Changelog ==
124
 
 
 
 
 
125
  = 6.0.3 =
126
 
127
  * Fixed link and color picker on text block
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.4
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
122
 
123
  == Changelog ==
124
 
125
+ = 6.0.4 =
126
+
127
+ * Fixed the hero block
128
+
129
  = 6.0.3 =
130
 
131
  * Fixed link and color picker on text block