WP Subscribe - Version 1.1.4

Version Description

  • Changed AWeber form URL to HTTPS
Download this release

Release Info

Developer MyThemeShop
Plugin Icon 128x128 WP Subscribe
Version 1.1.4
Comparing to
See all releases

Code changes from version 1.1.3 to 1.1.4

Files changed (2) hide show
  1. readme.txt +6 -3
  2. wp-subscribe.php +3 -3
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: mythemeshop
3
  Creator's website link: http://mythemeshop.com/plugins/wp-subscribe/
4
  Tags: subscribe, subscription, subscription box, newsletter, subscribe widget, mailchimp, aweber, feedburner,
5
  Requires at least: 3.0.1
6
- Tested up to: 4.7
7
- Stable tag: 1.1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -82,6 +82,9 @@ Please disable all plugins and check if plugin is working properly. Then you can
82
 
83
  == Changelog ==
84
 
 
 
 
85
  = 1.1.3 =
86
  * Added option to enable name field
87
  * Added MyThemeShop tab in "Add Plugins" page
@@ -121,4 +124,4 @@ Please disable all plugins and check if plugin is working properly. Then you can
121
  * Fixed compatibility with other plugins using Mailchimp API
122
 
123
  = 1.0 =
124
- * Official plugin release.
3
  Creator's website link: http://mythemeshop.com/plugins/wp-subscribe/
4
  Tags: subscribe, subscription, subscription box, newsletter, subscribe widget, mailchimp, aweber, feedburner,
5
  Requires at least: 3.0.1
6
+ Tested up to: 4.7.3
7
+ Stable tag: 1.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
82
 
83
  == Changelog ==
84
 
85
+ = 1.1.4 =
86
+ * Changed AWeber form URL to HTTPS
87
+
88
  = 1.1.3 =
89
  * Added option to enable name field
90
  * Added MyThemeShop tab in "Add Plugins" page
124
  * Fixed compatibility with other plugins using Mailchimp API
125
 
126
  = 1.0 =
127
+ * Official plugin release.
wp-subscribe.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Subscribe
4
  Plugin URI: http://mythemeshop.com/plugins/wp-subscribe/
5
  Description: WP Subscribe is a simple but powerful subscription plugin which supports MailChimp, Aweber and Feedburner.
6
  Author: MyThemeShop
7
- Version: 1.1.3
8
  Author URI: http://mythemeshop.com/
9
  */
10
 
@@ -123,7 +123,7 @@ class wp_subscribe extends WP_Widget {
123
  } elseif ($instance['service'] == 'aweber') { ?>
124
 
125
  <?php if (empty($_GET['aweber_signedup'])) { ?>
126
- <form method="post" action="http://www.aweber.com/scripts/addlead.pl" target="_blank">
127
  <div style="display: none;">
128
  <input type="hidden" name="listname" value="<?php echo esc_attr($instance['aweber_list_id']); ?>" />
129
  <!-- <input type="hidden" name="meta_split_id" value="" />
@@ -379,7 +379,7 @@ class wp_subscribe extends WP_Widget {
379
  $ret['message'] = $widget_settings['error_message'];
380
  }
381
  } catch (Exception $ex) {
382
- $ret['message'] = $widget_settings['error_message'];
383
  }
384
  } else {
385
  $ret['message'] = $error_message;
4
  Plugin URI: http://mythemeshop.com/plugins/wp-subscribe/
5
  Description: WP Subscribe is a simple but powerful subscription plugin which supports MailChimp, Aweber and Feedburner.
6
  Author: MyThemeShop
7
+ Version: 1.1.4
8
  Author URI: http://mythemeshop.com/
9
  */
10
 
123
  } elseif ($instance['service'] == 'aweber') { ?>
124
 
125
  <?php if (empty($_GET['aweber_signedup'])) { ?>
126
+ <form method="post" action="https://www.aweber.com/scripts/addlead.pl" target="_blank">
127
  <div style="display: none;">
128
  <input type="hidden" name="listname" value="<?php echo esc_attr($instance['aweber_list_id']); ?>" />
129
  <!-- <input type="hidden" name="meta_split_id" value="" />
379
  $ret['message'] = $widget_settings['error_message'];
380
  }
381
  } catch (Exception $ex) {
382
+ $ret['message'] = is_user_logged_in() ? $ex->getMessage() : $widget_settings['error_message'];
383
  }
384
  } else {
385
  $ret['message'] = $error_message;