From 9751de70c8f4f1100d7eb9cf7850bccc0524fdc6 Mon Sep 17 00:00:00 2001 From: strangerstudios Date: Wed, 10 Sep 2014 13:43:16 +0000 Subject: [PATCH] BUG: Removed the debug call to d($...) that was left in preheaders/checkout.php and would show up when checkout forms were submitted with empty fields. (Thanks, Nicolas) git-svn-id: https://plugins.svn.wordpress.org/paid-memberships-pro/trunk@986458 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- paid-memberships-pro.php | 4 ++-- preheaders/checkout.php | 3 +-- readme.txt | 5 ++++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/paid-memberships-pro.php b/paid-memberships-pro.php index f6077fb..60dac98 100755 --- a/paid-memberships-pro.php +++ b/paid-memberships-pro.php @@ -3,7 +3,7 @@ Plugin Name: Paid Memberships Pro Plugin URI: http://www.paidmembershipspro.com Description: Plugin to Handle Memberships -Version: 1.7.14.1 +Version: 1.7.14.2 Author: Stranger Studios Author URI: http://www.strangerstudios.com */ @@ -13,7 +13,7 @@ */ //version constant -define("PMPRO_VERSION", "1.7.14.1"); +define("PMPRO_VERSION", "1.7.14.2"); //if the session has been started yet, start it (ignore if running from command line) if(defined('STDIN') ) diff --git a/preheaders/checkout.php b/preheaders/checkout.php index e6038f4..4da479d 100755 --- a/preheaders/checkout.php +++ b/preheaders/checkout.php @@ -461,8 +461,7 @@ function pmpro_braintree_dont_require_CVV($fields) } } - if (!empty($pmpro_error_fields)) { - d($pmpro_error_fields); + if (!empty($pmpro_error_fields)) { pmpro_setMessage(__("Please complete all required fields.", "pmpro"), "pmpro_error"); } if (!empty($password) && $password != $password2) { diff --git a/readme.txt b/readme.txt index 15c289f..a46cf18 100755 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: strangerstudios Tags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow Requires at least: 3.5 Tested up to: 4.0 -Stable tag: 1.7.14.1 +Stable tag: 1.7.14.2 The easiest way to GET PAID with your WordPress site. Flexible content control by Membership Level, Reports, Affiliates and Discounts @@ -102,6 +102,9 @@ Not sure? You can find out by doing a bit a research. 4. Offer Membership Discounts with specific price rules (restricted by level, unique pricing for each level, # of uses, expiration date.) == Changelog == += 1.7.14.2 = +* BUG: Removed the debug call to d($...) that was left in preheaders/checkout.php and would show up when checkout forms were submitted with empty fields. (Thanks, Nicolas) + = 1.7.14.1 = * BUG: Fixed warnings in PayPal Express class that could break redirects at checkout. (Thanks, Adam Warner) * BUG: Fixed issue where new users who checked out with Braintree weren't having their customerid's saved, which led to subscription syncronization issues if they checked out again or updated their billing.