Subscribe2 - Version 10.17.2

Version Description

Download this release

Release Info

Developer tanaylakhani
Plugin Icon 128x128 Subscribe2
Version 10.17.2
Comparing to
See all releases

Code changes from version 10.17 to 10.17.2

ChangeLog.txt CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  = 10.17 =
2
 
3
  * Bug Fixes
1
+ = 10.17.2 =
2
+
3
+ * Disconnect/Delete Readygraph Link fix
4
+ * Deactivation confirmation message
5
+
6
+ = 10.17.1 =
7
+
8
+ * link fix
9
+
10
  = 10.17 =
11
 
12
  * Bug Fixes
ReadMe.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_butt
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
- Stable tag: 10.17
8
  License: GPL3
9
 
10
  Sends a list of subscribers an email notification when new posts are published to your blog. Automate user growth through ReadyGraph integration.
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
+ Stable tag: 10.17.2
8
  License: GPL3
9
 
10
  Sends a list of subscribers an email notification when new posts are published to your blog. Automate user growth through ReadyGraph integration.
extension/readygraph/admin.php CHANGED
@@ -16,6 +16,7 @@ function s2_disconnectReadyGraph(){
16
  $app_id = get_option('readygraph_application_id');
17
  wp_remote_get( "http://readygraph.com/api/v1/tracking?event=disconnect_readygraph&app_id=$app_id" );
18
  s2_delete_rg_options();
 
19
  }
20
  function s2_deleteReadyGraph(){
21
  $app_id = get_option('readygraph_application_id');
@@ -190,7 +191,7 @@ If you have questions or concerns contact us anytime at <a href="mailto:info@rea
190
  <h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/round-check.png" class="rg-small-icon"/>Unlimited Viral Email/Facebook Invites</h4>
191
  <h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/round-check.png" class="rg-small-icon"/>Unlimited Blog Post Notifications and More!</h4>
192
 
193
- <div class="save-changes" style="font-weight: normal; text-align: center;"><button type="submit" class="btn btn-large btn-warning save-next" formaction="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>&ac=signup-popup&source=basic-settings" style="margin: 15px">Learn more about Premium</button><br>
194
  <strong>Or take <a href="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>&ac=signup-popup&source=basic-settings">the tutorial</a> to customize your ReadyGraph settings</strong>
195
  </div></div>
196
  </div>
16
  $app_id = get_option('readygraph_application_id');
17
  wp_remote_get( "http://readygraph.com/api/v1/tracking?event=disconnect_readygraph&app_id=$app_id" );
18
  s2_delete_rg_options();
19
+ echo '<div class="updated"><p>We are sorry to see you go. ReadyGraph is now disconnected.</p></div>';
20
  }
21
  function s2_deleteReadyGraph(){
22
  $app_id = get_option('readygraph_application_id');
191
  <h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/round-check.png" class="rg-small-icon"/>Unlimited Viral Email/Facebook Invites</h4>
192
  <h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/round-check.png" class="rg-small-icon"/>Unlimited Blog Post Notifications and More!</h4>
193
 
194
+ <div class="save-changes" style="font-weight: normal; text-align: center;"><a class="btn btn-large btn-warning save-next" href="https://readygraph.com/accounts/payment/?email=<?php echo get_option('readygraph_email', '') ?>" target="_blank" style="margin: 15px">Learn more about Premium</a><br>
195
  <strong>Or take <a href="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>&ac=signup-popup&source=basic-settings">the tutorial</a> to customize your ReadyGraph settings</strong>
196
  </div></div>
197
  </div>
extension/readygraph/deactivate-readygraph.php CHANGED
@@ -214,12 +214,12 @@ If you have questions or concerns contact us anytime at <a href="mailto:info@rea
214
 
215
  <h3>I'm sure. What do I do now?</h3>
216
  <p>If you are sure you want to deactivate Readygraph, you have two options: </p>
217
- <p>Deactivate. This turns ReadyGraph off, but you still have the abiity to reactivate Readygraph in the future should change your mind. <br><a href="#">Deactivate ReadyGraph</a></p>
218
- <p>Delete. This will permanently removes all code and files associated with ReadyGraph from your website.<br><a href="#">Permanently Delete ReadyGraph</a></p>
219
  <p>&nbsp;</p>
220
  <p>Thanks a lot and good luck with your site!</p>
221
  <p>&nbsp;</p>
222
- <p><a href="#">Nevermind, I want to keep growing my audience with ReadyGraph</a></p>
223
  </div>
224
  </div>
225
  </form>
214
 
215
  <h3>I'm sure. What do I do now?</h3>
216
  <p>If you are sure you want to deactivate Readygraph, you have two options: </p>
217
+ <p>Deactivate. This turns ReadyGraph off, but you still have the abiity to reactivate Readygraph in the future should change your mind. <br><a href="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>&action=<?php echo base64_encode("changeaccount");?>">Deactivate ReadyGraph</a></p>
218
+ <p>Delete. This will permanently removes all code and files associated with ReadyGraph from your website.<br><a href="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>&action=<?php echo base64_encode("deleteaccount");?>">Permanently Delete ReadyGraph</a></p>
219
  <p>&nbsp;</p>
220
  <p>Thanks a lot and good luck with your site!</p>
221
  <p>&nbsp;</p>
222
+ <p><a href="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>">Nevermind, I want to keep growing my audience with ReadyGraph</a></p>
223
  </div>
224
  </div>
225
  </form>
subscribe2.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted.
6
- Version: 10.17
7
  Author: Matthew Robinson, Tanay Lakhani
8
  Author URI: http://subscribe2.wordpress.com
9
  Licence: GPL3
@@ -55,7 +55,7 @@ if ( is_plugin_active_for_network(plugin_basename(__FILE__)) ) {
55
 
56
  // our version number. Don't touch this or any line below
57
  // unless you know exactly what you are doing
58
- define( 'S2VERSION', '10.17' );
59
  define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
60
  define( 'S2DIR', trailingslashit(dirname(plugin_basename(__FILE__))) );
61
  define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted.
6
+ Version: 10.17.2
7
  Author: Matthew Robinson, Tanay Lakhani
8
  Author URI: http://subscribe2.wordpress.com
9
  Licence: GPL3
55
 
56
  // our version number. Don't touch this or any line below
57
  // unless you know exactly what you are doing
58
+ define( 'S2VERSION', '10.17.2' );
59
  define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
60
  define( 'S2DIR', trailingslashit(dirname(plugin_basename(__FILE__))) );
61
  define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );