Paid Memberships Pro - Version 1.8.5.2

Version Description

  • BUG: Fixed notice in pmpro_reset_update_plugins_cache
  • BUG: Removed debug code from the PayPal Express gateway.
Download this release

Release Info

Developer strangerstudios
Plugin Icon 128x128 Paid Memberships Pro
Version 1.8.5.2
Comparing to
See all releases

Code changes from version 1.8.5.1 to 1.8.5.2

Files changed (3) hide show
  1. includes/addons.php +4 -7
  2. paid-memberships-pro.php +2 -2
  3. readme.txt +5 -1
includes/addons.php CHANGED
@@ -13,7 +13,7 @@ function pmpro_setupAddonUpdateInfo()
13
  add_filter('plugins_api', 'pmpro_plugins_api', 10, 3);
14
  add_filter('pre_set_site_transient_update_plugins', 'pmpro_update_plugins_filter');
15
  add_filter('http_request_args', 'pmpro_http_request_args_for_addons', 10, 2);
16
- add_action('update_option_pmpro_license_key', 'pmpro_reset_update_plugins_cache', 10, 3);
17
  }
18
  add_action('init', 'pmpro_setupAddonUpdateInfo');
19
 
@@ -231,11 +231,8 @@ function pmpro_getPluginAPIObjectFromAddon($addon)
231
  * @param string $url The URL to be pinged.
232
  * @return array $args Amended array of request args.
233
  */
234
- function pmpro_reset_update_plugins_cache($option, $old_value, $value)
235
  {
236
- if($option == "pmpro_license_key")
237
- {
238
- delete_option('pmpro_addons_timestamp');
239
- delete_site_transient('update_themes');
240
- }
241
  }
13
  add_filter('plugins_api', 'pmpro_plugins_api', 10, 3);
14
  add_filter('pre_set_site_transient_update_plugins', 'pmpro_update_plugins_filter');
15
  add_filter('http_request_args', 'pmpro_http_request_args_for_addons', 10, 2);
16
+ add_action('update_option_pmpro_license_key', 'pmpro_reset_update_plugins_cache', 10, 2);
17
  }
18
  add_action('init', 'pmpro_setupAddonUpdateInfo');
19
 
231
  * @param string $url The URL to be pinged.
232
  * @return array $args Amended array of request args.
233
  */
234
+ function pmpro_reset_update_plugins_cache($old_value, $value)
235
  {
236
+ delete_option('pmpro_addons_timestamp');
237
+ delete_site_transient('update_themes');
 
 
 
238
  }
paid-memberships-pro.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Paid Memberships Pro
4
  Plugin URI: http://www.paidmembershipspro.com
5
  Description: Plugin to Handle Memberships
6
- Version: 1.8.5.1
7
  Author: Stranger Studios
8
  Author URI: http://www.strangerstudios.com
9
  */
@@ -13,7 +13,7 @@ Author URI: http://www.strangerstudios.com
13
  */
14
 
15
  //version constant
16
- define("PMPRO_VERSION", "1.8.5.1");
17
 
18
  //if the session has been started yet, start it (ignore if running from command line)
19
  if(defined('STDIN') )
3
  Plugin Name: Paid Memberships Pro
4
  Plugin URI: http://www.paidmembershipspro.com
5
  Description: Plugin to Handle Memberships
6
+ Version: 1.8.5.2
7
  Author: Stranger Studios
8
  Author URI: http://www.strangerstudios.com
9
  */
13
  */
14
 
15
  //version constant
16
+ define("PMPRO_VERSION", "1.8.5.2");
17
 
18
  //if the session has been started yet, start it (ignore if running from command line)
19
  if(defined('STDIN') )
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: strangerstudios
3
  Tags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow
4
  Requires at least: 3.5
5
  Tested up to: 4.2.4
6
- Stable tag: 1.8.5.1
7
 
8
  The easiest way to GET PAID with your WordPress site. Flexible content control by Membership Level, Reports, Affiliates and Discounts
9
 
@@ -102,6 +102,10 @@ Not sure? You can find out by doing a bit a research.
102
  4. Offer Membership Discounts with specific price rules (restricted by level, unique pricing for each level, # of uses, expiration date.)
103
 
104
  == Changelog ==
 
 
 
 
105
  = 1.8.5.1 =
106
  * ENHANCEMENT: Added the pmpro_get_addons_timeout and pmpro_license_check_key_timeout filters to change the default timeout during addon and license key checks.
107
  * BUG: Fixed error handling during addon and license key checks.
3
  Tags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow
4
  Requires at least: 3.5
5
  Tested up to: 4.2.4
6
+ Stable tag: 1.8.5.2
7
 
8
  The easiest way to GET PAID with your WordPress site. Flexible content control by Membership Level, Reports, Affiliates and Discounts
9
 
102
  4. Offer Membership Discounts with specific price rules (restricted by level, unique pricing for each level, # of uses, expiration date.)
103
 
104
  == Changelog ==
105
+ = 1.8.5.2 =
106
+ * BUG: Fixed notice in pmpro_reset_update_plugins_cache
107
+ * BUG: Removed debug code from the PayPal Express gateway.
108
+
109
  = 1.8.5.1 =
110
  * ENHANCEMENT: Added the pmpro_get_addons_timeout and pmpro_license_check_key_timeout filters to change the default timeout during addon and license key checks.
111
  * BUG: Fixed error handling during addon and license key checks.