Newsletter - Version 3.2.9

Version Description

  • Fixed a possible loop on widget (when using extended fields in combobox format)
Download this release

Release Info

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

Code changes from version 3.2.8 to 3.2.9

Files changed (4) hide show
  1. plugin.php +2 -2
  2. readme.txt +5 -1
  3. statistics/view.php +2 -1
  4. widget.php +2 -2
plugin.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Newsletter
5
  Plugin URI: http://www.satollo.net/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.satollo.net/plugins/newsletter#update">this page</a> to know what's changed.</strong>
7
- Version: 3.2.8
8
  Author: Stefano Lissa
9
  Author URI: http://www.satollo.net
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
@@ -13,7 +13,7 @@
13
  */
14
 
15
  // Useed as dummy parameter on css and js links
16
- define('NEWSLETTER_VERSION', '3.2.8');
17
 
18
  global $wpdb, $newsletter;
19
 
4
  Plugin Name: Newsletter
5
  Plugin URI: http://www.satollo.net/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.satollo.net/plugins/newsletter#update">this page</a> to know what's changed.</strong>
7
+ Version: 3.2.9
8
  Author: Stefano Lissa
9
  Author URI: http://www.satollo.net
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
13
  */
14
 
15
  // Useed as dummy parameter on css and js links
16
+ define('NEWSLETTER_VERSION', '3.2.9');
17
 
18
  global $wpdb, $newsletter;
19
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing
3
  Requires at least: 3.3.0
4
  Tested up to: 3.5.1
5
- Stable tag: 3.2.8
6
  Donate link: http://www.satollo.net/donations
7
 
8
  Add a real newsletter to your blog. In seconds. For free. With unlimited emails and subscribers.
@@ -55,6 +55,10 @@ No screen shots are available at this time.
55
 
56
  == Changelog ==
57
 
 
 
 
 
58
  = 3.2.8 =
59
 
60
  * Fixed the newsletter_replace filter
2
  Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing
3
  Requires at least: 3.3.0
4
  Tested up to: 3.5.1
5
+ Stable tag: 3.2.9
6
  Donate link: http://www.satollo.net/donations
7
 
8
  Add a real newsletter to your blog. In seconds. For free. With unlimited emails and subscribers.
55
 
56
  == Changelog ==
57
 
58
+ = 3.2.9 =
59
+
60
+ * Fixed a possible loop on widget (when using extended fields in combobox format)
61
+
62
  = 3.2.8 =
63
 
64
  * Fixed the newsletter_replace filter
statistics/view.php CHANGED
@@ -6,7 +6,7 @@ $email = $module->get_email($_GET['id']);
6
  <?php $help_url = 'http://www.satollo.net/plugins/newsletter/statistics-module'; ?>
7
  <?php include NEWSLETTER_DIR . '/header.php'; ?>
8
 
9
- <h5>Statistics Module</h5>
10
 
11
  <h2>Statistics for "<?php echo esc_html($email->subject); ?>"</h2>
12
 
@@ -36,4 +36,5 @@ $email = $module->get_email($_GET['id']);
36
  </tr>
37
  </tbody>
38
  </table>
 
39
  </div>
6
  <?php $help_url = 'http://www.satollo.net/plugins/newsletter/statistics-module'; ?>
7
  <?php include NEWSLETTER_DIR . '/header.php'; ?>
8
 
9
+ <h5>Statistics</h5>
10
 
11
  <h2>Statistics for "<?php echo esc_html($email->subject); ?>"</h2>
12
 
36
  </tr>
37
  </tbody>
38
  </table>
39
+
40
  </div>
widget.php CHANGED
@@ -53,8 +53,8 @@ class NewsletterWidget extends WP_Widget {
53
  if ($options_profile['profile_' . $i . '_type'] == 'select') {
54
  $form .= '<p>' . $options_profile['profile_' . $i] . '<br /><select class="newsletter-profile newsletter-profile-' . $i . '" name="np' . $i . '">';
55
  $opts = explode(',', $options_profile['profile_' . $i . '_options']);
56
- for ($i = 0; $i < count($opts); $i++) {
57
- $form .= '<option>' . trim($opts[$i]) . '</option>';
58
  }
59
  $form .= '</select></p>';
60
  }
53
  if ($options_profile['profile_' . $i . '_type'] == 'select') {
54
  $form .= '<p>' . $options_profile['profile_' . $i] . '<br /><select class="newsletter-profile newsletter-profile-' . $i . '" name="np' . $i . '">';
55
  $opts = explode(',', $options_profile['profile_' . $i . '_options']);
56
+ for ($t = 0; $t < count($opts); $t++) {
57
+ $form .= '<option>' . trim($opts[$t]) . '</option>';
58
  }
59
  $form .= '</select></p>';
60
  }