Version Description
- Added HTML editor plugin to tiny
- Fixed a couple of debug notices on widget
Download this release
Release Info
Developer | satollo |
Plugin | Newsletter |
Version | 4.8.5 |
Comparing to | |
See all releases |
Code changes from version 4.8.4 to 4.8.5
- emails/edit.php +1 -1
- main/status.php +6 -5
- plugin.php +2 -2
- readme.txt +6 -1
- subscription/subscription.php +1 -7
- tnp-header.php +0 -2
- widget/standard.php +2 -2
emails/edit.php
CHANGED
@@ -271,7 +271,7 @@ if ($email['editor'] == 0) {
|
|
271 |
entity_encoding: "raw",
|
272 |
image_advtab: true,
|
273 |
image_title: true,
|
274 |
-
plugins: "table fullscreen legacyoutput textcolor colorpicker link image",
|
275 |
relative_urls: false,
|
276 |
remove_script_host: false,
|
277 |
document_base_url: "<?php echo esc_js(get_option('home')) ?>/",
|
271 |
entity_encoding: "raw",
|
272 |
image_advtab: true,
|
273 |
image_title: true,
|
274 |
+
plugins: "table fullscreen legacyoutput textcolor colorpicker link image code",
|
275 |
relative_urls: false,
|
276 |
remove_script_host: false,
|
277 |
document_base_url: "<?php echo esc_js(get_option('home')) ?>/",
|
main/status.php
CHANGED
@@ -140,7 +140,7 @@ $options = $module->get_options('status');
|
|
140 |
</thead>
|
141 |
|
142 |
<tbody>
|
143 |
-
|
144 |
<tr>
|
145 |
<td>Mailing</td>
|
146 |
<td>
|
@@ -205,7 +205,7 @@ $options = $module->get_options('status');
|
|
205 |
</td>
|
206 |
|
207 |
</tr>
|
208 |
-
|
209 |
<tr>
|
210 |
<td>Blog Charset</td>
|
211 |
<td>
|
@@ -251,6 +251,7 @@ $options = $module->get_options('status');
|
|
251 |
|
252 |
<?php
|
253 |
$value = (int) ini_get('max_execution_time');
|
|
|
254 |
if ($value != 0 && $value < NEWSLETTER_CRON_INTERVAL) {
|
255 |
$res = set_time_limit(NEWSLETTER_CRON_INTERVAL * 1.2);
|
256 |
}
|
@@ -416,10 +417,10 @@ $options = $module->get_options('status');
|
|
416 |
<td>
|
417 |
<?php if ($time === false) { ?>
|
418 |
No next execution is planned.
|
419 |
-
<?php $controls->button('reschedule', 'Reset')?>
|
420 |
<?php } else if ($delta <= -600) { ?>
|
421 |
The scheduler is very late: <?php echo $delta ?> seconds (<a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-delivery-engine" target="_blank">read more</a>)
|
422 |
-
|
423 |
Next execution is planned in <?php echo $delta ?> seconds (negative values are ok).
|
424 |
<?php } ?>
|
425 |
</td>
|
@@ -737,7 +738,7 @@ $options = $module->get_options('status');
|
|
737 |
<?php echo NEWSLETTER_VERSION ?>
|
738 |
</td>
|
739 |
</tr>
|
740 |
-
|
741 |
<tr>
|
742 |
<td>NEWSLETTER_MAX_EXECUTION_TIME</td>
|
743 |
<td>
|
140 |
</thead>
|
141 |
|
142 |
<tbody>
|
143 |
+
|
144 |
<tr>
|
145 |
<td>Mailing</td>
|
146 |
<td>
|
205 |
</td>
|
206 |
|
207 |
</tr>
|
208 |
+
|
209 |
<tr>
|
210 |
<td>Blog Charset</td>
|
211 |
<td>
|
251 |
|
252 |
<?php
|
253 |
$value = (int) ini_get('max_execution_time');
|
254 |
+
$res = true;
|
255 |
if ($value != 0 && $value < NEWSLETTER_CRON_INTERVAL) {
|
256 |
$res = set_time_limit(NEWSLETTER_CRON_INTERVAL * 1.2);
|
257 |
}
|
417 |
<td>
|
418 |
<?php if ($time === false) { ?>
|
419 |
No next execution is planned.
|
420 |
+
<?php $controls->button('reschedule', 'Reset') ?>
|
421 |
<?php } else if ($delta <= -600) { ?>
|
422 |
The scheduler is very late: <?php echo $delta ?> seconds (<a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-delivery-engine" target="_blank">read more</a>)
|
423 |
+
<?php } else { ?>
|
424 |
Next execution is planned in <?php echo $delta ?> seconds (negative values are ok).
|
425 |
<?php } ?>
|
426 |
</td>
|
738 |
<?php echo NEWSLETTER_VERSION ?>
|
739 |
</td>
|
740 |
</tr>
|
741 |
+
|
742 |
<tr>
|
743 |
<td>NEWSLETTER_MAX_EXECUTION_TIME</td>
|
744 |
<td>
|
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.8.
|
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.8.
|
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.8.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.8.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.7.2
|
5 |
-
Stable tag: 4.8.
|
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,11 @@ Thank you, The Newsletter Team
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
|
|
|
|
80 |
= 4.8.4 =
|
81 |
|
82 |
* Fixed posts block background editing
|
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.7.2
|
5 |
+
Stable tag: 4.8.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.8.5 =
|
81 |
+
|
82 |
+
* Added HTML editor plugin to tiny
|
83 |
+
* Fixed a couple of debug notices on widget
|
84 |
+
|
85 |
= 4.8.4 =
|
86 |
|
87 |
* Fixed posts block background editing
|
subscription/subscription.php
CHANGED
@@ -892,13 +892,7 @@ class NewsletterSubscription extends NewsletterModule {
|
|
892 |
$attrs = array();
|
893 |
}
|
894 |
|
895 |
-
$attrs = array_merge(array('class' => 'newsletter', '
|
896 |
-
|
897 |
-
if (isset($attrs['default_css']) && $attrs['default_css'] == 'true') {
|
898 |
-
echo '<style scoped>';
|
899 |
-
include dirname(__FILE__) . '/styles/shortcode/default.css';
|
900 |
-
echo '</style>';
|
901 |
-
}
|
902 |
|
903 |
$options_profile = get_option('newsletter_profile');
|
904 |
$action = esc_attr(home_url('/') . '?na=s');
|
892 |
$attrs = array();
|
893 |
}
|
894 |
|
895 |
+
$attrs = array_merge(array('class' => 'newsletter', 'style' => ''), $attrs);
|
|
|
|
|
|
|
|
|
|
|
|
|
896 |
|
897 |
$options_profile = get_option('newsletter_profile');
|
898 |
$action = esc_attr(home_url('/') . '?na=s');
|
tnp-header.php
CHANGED
@@ -83,8 +83,6 @@ function newsletter_print_entries($group) {
|
|
83 |
</li>
|
84 |
<li><a href="#"><i class="fa fa-cog"></i> <?php _e('Settings', 'newsletter') ?> <i class="fa fa-chevron-down"></i></a>
|
85 |
<ul>
|
86 |
-
<li><a href="?page=newsletter_main_startup"><i class="fa fa-fighter-jet"></i> <?php _e('Quick Startup', 'newsletter') ?>
|
87 |
-
<small><?php _e('The minimum you need to start', 'newsletter') ?></small></a></li>
|
88 |
<li><a href="?page=newsletter_main_main"><i class="fa fa-cogs"></i> <?php _e('General Settings', 'newsletter') ?>
|
89 |
<small><?php _e('Delivery speed, sender details, ...', 'newsletter') ?></small></a></li>
|
90 |
<li><a href="?page=newsletter_main_info"><i class="fa fa-info"></i> <?php _e('Company Info', 'newsletter') ?>
|
83 |
</li>
|
84 |
<li><a href="#"><i class="fa fa-cog"></i> <?php _e('Settings', 'newsletter') ?> <i class="fa fa-chevron-down"></i></a>
|
85 |
<ul>
|
|
|
|
|
86 |
<li><a href="?page=newsletter_main_main"><i class="fa fa-cogs"></i> <?php _e('General Settings', 'newsletter') ?>
|
87 |
<small><?php _e('Delivery speed, sender details, ...', 'newsletter') ?></small></a></li>
|
88 |
<li><a href="?page=newsletter_main_info"><i class="fa fa-info"></i> <?php _e('Company Info', 'newsletter') ?>
|
widget/standard.php
CHANGED
@@ -13,7 +13,7 @@ class NewsletterWidget extends WP_Widget {
|
|
13 |
static function get_widget_form($instance) {
|
14 |
|
15 |
$field_wrapper_tag = 'div';
|
16 |
-
if (!is_array($instance['nl'])) $instance['nl'] = array();
|
17 |
|
18 |
$options_profile = get_option('newsletter_profile');
|
19 |
//$form = NewsletterSubscription::instance()->get_form_javascript();
|
@@ -183,7 +183,7 @@ class NewsletterWidget extends WP_Widget {
|
|
183 |
}
|
184 |
$instance = array_merge(array('title' => '', 'text' => ''), $instance);
|
185 |
$options_profile = get_option('newsletter_profile');
|
186 |
-
if (!is_array($instance['nl'])) $instance['nl'] = array();
|
187 |
?>
|
188 |
<p>
|
189 |
<label for="<?php echo $this->get_field_id('title'); ?>">
|
13 |
static function get_widget_form($instance) {
|
14 |
|
15 |
$field_wrapper_tag = 'div';
|
16 |
+
if (!isset($instance['nl']) || !is_array($instance['nl'])) $instance['nl'] = array();
|
17 |
|
18 |
$options_profile = get_option('newsletter_profile');
|
19 |
//$form = NewsletterSubscription::instance()->get_form_javascript();
|
183 |
}
|
184 |
$instance = array_merge(array('title' => '', 'text' => ''), $instance);
|
185 |
$options_profile = get_option('newsletter_profile');
|
186 |
+
if (!isset($instance['nl']) || !is_array($instance['nl'])) $instance['nl'] = array();
|
187 |
?>
|
188 |
<p>
|
189 |
<label for="<?php echo $this->get_field_id('title'); ?>">
|