WP Subscribe - Version 1.0.4

Version Description

  • Fixed AWeber signup issue
Download this release

Release Info

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

Code changes from version 1.0.3 to 1.0.4

Files changed (3) hide show
  1. css/wp-subscribe.css +1 -3
  2. readme.txt +4 -1
  3. wp-subscribe.php +7 -7
css/wp-subscribe.css CHANGED
@@ -35,7 +35,6 @@ Author URI: http://mythemeshop.com
35
  border: none;
36
  width: 100%;
37
  text-align: center;
38
- -moz-box-sizing: border-box;
39
  box-sizing: border-box;
40
  padding: 10px 0;
41
  margin: 0;
@@ -69,8 +68,7 @@ Author URI: http://mythemeshop.com
69
  margin-top: 20px;
70
  font-size: 18px;
71
  text-transform: uppercase;
72
- font-weight: 500;
73
- -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
74
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
75
  cursor: pointer;
76
  }
35
  border: none;
36
  width: 100%;
37
  text-align: center;
 
38
  box-sizing: border-box;
39
  padding: 10px 0;
40
  margin: 0;
68
  margin-top: 20px;
69
  font-size: 18px;
70
  text-transform: uppercase;
71
+ font-weight: 500;
 
72
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
73
  cursor: pointer;
74
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.2
7
- Stable tag: 1.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -72,6 +72,9 @@ Please disable all plugins and check if plugin is working properly. Then you can
72
 
73
  == Changelog ==
74
 
 
 
 
75
  = 1.0.3 =
76
  * Fixed add_query_arg vulnerability
77
 
4
  Tags: subscribe, subscription, subscription box, newsletter, subscribe widget, mailchimp, aweber, feedburner,
5
  Requires at least: 3.0.1
6
  Tested up to: 4.2
7
+ Stable tag: 1.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
72
 
73
  == Changelog ==
74
 
75
+ = 1.0.4 =
76
+ * Fixed AWeber signup issue
77
+
78
  = 1.0.3 =
79
  * Fixed add_query_arg vulnerability
80
 
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.0.3
8
  Author URI: http://mythemeshop.com/
9
  */
10
 
@@ -111,15 +111,15 @@ class wp_subscribe extends WP_Widget {
111
  } elseif ($instance['service'] == 'aweber') { ?>
112
 
113
  <?php if (empty($_GET['aweber_signedup'])) { ?>
114
- <form method="post" action="http://www.aweber.com/scripts/addlead.pl">
115
  <div style="display: none;">
116
- <input type="hidden" name="meta_split_id" value="" />
117
- <input type="hidden" name="listname" value="" />
118
  <input type="hidden" name="redirect" value="<?php echo esc_url(add_query_arg('aweber_signedup', '1')); ?>" />
119
- <input type="hidden" name="meta_redirect_onlist" value="<?php echo esc_url(add_query_arg('aweber_signedup', '-1')); ?>" />
120
  </div>
121
- <input class="email-field" type="text" value="" placeholder="<?php echo $instance['email_placeholder']; ?>" name="email">
122
- <input class="submit" name="submit" type="submit" value="<?php echo $instance['button_text']; ?>">
123
  </form>
124
  <?php } elseif ($_GET['aweber_signedup'] == 1) { ?>
125
  <p class="thanks"><?php echo $instance['success_message']; ?></p>
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.0.4
8
  Author URI: http://mythemeshop.com/
9
  */
10
 
111
  } elseif ($instance['service'] == 'aweber') { ?>
112
 
113
  <?php if (empty($_GET['aweber_signedup'])) { ?>
114
+ <form method="post" action="http://www.aweber.com/scripts/addlead.pl" target="_blank">
115
  <div style="display: none;">
116
+ <input type="hidden" name="listname" value="<?php echo esc_attr($instance['aweber_list_id']); ?>" />
117
+ <!-- <input type="hidden" name="meta_split_id" value="" />
118
  <input type="hidden" name="redirect" value="<?php echo esc_url(add_query_arg('aweber_signedup', '1')); ?>" />
119
+ <input type="hidden" name="meta_redirect_onlist" value="<?php echo esc_url(add_query_arg('aweber_signedup', '-1')); ?>" /> -->
120
  </div>
121
+ <input class="email-field" type="text" value="" placeholder="<?php echo esc_attr($instance['email_placeholder']); ?>" name="email">
122
+ <input class="submit" name="submit" type="submit" value="<?php echo esc_attr($instance['button_text']); ?>">
123
  </form>
124
  <?php } elseif ($_GET['aweber_signedup'] == 1) { ?>
125
  <p class="thanks"><?php echo $instance['success_message']; ?></p>