From fd79ec228c33906fcb7c635ee029034492793c7f Mon Sep 17 00:00:00 2001 From: Raam Dev Date: Sat, 22 Jul 2017 12:19:58 -0400 Subject: [PATCH] Release s2Member v170722 --- CHANGELOG.md | 2 +- readme.txt | 8 +++++-- s2member.php | 10 ++++---- src/includes/classes/paypal-utilities.inc.php | 2 +- src/includes/translations/s2member.pot | 24 +++++++++---------- 5 files changed, 25 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 287a5b55..de712145 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -= $v = += v170722 = - (s2Member/s2Member Pro) **PayPal IPN Compatibility:** This release includes an updated PayPal IPN handler that is capable of reading number-suffixed IPN variables that are now being sent by PayPal's IPN system in some cases, for some customers. We strongly encourage all site owners to upgrade to this release as soon as possible, particularly if you're using PayPal to process transactions. Props @openmtbmap and @patdumond for reporting. See: [Issue #1112](https://github.com/websharks/s2member/issues/1112) diff --git a/readme.txt b/readme.txt index 37459f65..70affb76 100644 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,7 @@ === s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members) === -Version: 170524 -Stable tag: 170524 +Version: 170722 +Stable tag: 170722 SSL Compatible: yes bbPress® Compatible: yes @@ -171,6 +171,10 @@ Released under the terms of the [GNU General Public License](http://www.gnu.org/ == Changelog == += v170722 = + +- (s2Member/s2Member Pro) **PayPal IPN Compatibility:** This release includes an updated PayPal IPN handler that is capable of reading number-suffixed IPN variables that are now being sent by PayPal's IPN system in some cases, for some customers. We strongly encourage all site owners to upgrade to this release as soon as possible, particularly if you're using PayPal to process transactions. Props @openmtbmap and @patdumond for reporting. See: [Issue #1112](https://github.com/websharks/s2member/issues/1112) + = v170524 = - (s2Member/s2Member Pro) **PHP v7 Compat. Enhancements**: This release adds an integration with the [Defuse encryption library](https://github.com/defuse/php-encryption) for PHP, making it possible for s2Member to move away from the `mcrypt_*()` family of functions in versions of PHP >= 7.0.4, where the mcrypt library has been deprecated — `mcrypt_*()` will eventually be removed entirely. diff --git a/s2member.php b/s2member.php index c4cd3cba..a3145769 100644 --- a/s2member.php +++ b/s2member.php @@ -20,8 +20,8 @@ */ /* -- This section for WordPress parsing. ------------------------------------------------------------------------------ -Version: 170524 -Stable tag: 170524 +Version: 170722 +Stable tag: 170722 SSL Compatible: yes bbPress Compatible: yes @@ -36,7 +36,7 @@ Google Wallet Compatible: yes w/s2Member Pro ClickBank Compatible: yes w/s2Member Pro -Tested up to: 4.8-alpha +Tested up to: 4.9-alpha Requires at least: 4.2 Requires PHP: 5.2 @@ -77,7 +77,7 @@ * * @var string */ -${__FILE__}['tmp'] = '170524'; //version// +${__FILE__}['tmp'] = '170722'; //version// if(!defined('WS_PLUGIN__S2MEMBER_VERSION')) define('WS_PLUGIN__S2MEMBER_VERSION', ${__FILE__}['tmp']); /** @@ -110,7 +110,7 @@ * * @var string */ -${__FILE__}['tmp'] = '170524'; //version// +${__FILE__}['tmp'] = '170722'; //version// if(!defined('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION')) define('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION', ${__FILE__}['tmp']); /* diff --git a/src/includes/classes/paypal-utilities.inc.php b/src/includes/classes/paypal-utilities.inc.php index 172cc5ab..0bc2444e 100644 --- a/src/includes/classes/paypal-utilities.inc.php +++ b/src/includes/classes/paypal-utilities.inc.php @@ -118,7 +118,7 @@ public static function paypal_postvars() /** * Back compat. PayPal post vars. * - * @since 17xxxx PayPal IPN variable change. + * @since 170722 PayPal IPN variable change. * * @return array Updated PayPal IPN data. * diff --git a/src/includes/translations/s2member.pot b/src/includes/translations/s2member.pot index 85c7a289..39161096 100644 --- a/src/includes/translations/s2member.pot +++ b/src/includes/translations/s2member.pot @@ -2,9 +2,9 @@ # This file is distributed under the same license as the package. msgid "" msgstr "" -"Project-Id-Version: 170524\n" +"Project-Id-Version: 170722\n" "Report-Msgid-Bugs-To: http://wordpress.org/tag/s2member\n" -"POT-Creation-Date: 2017-05-24 18:23:08+00:00\n" +"POT-Creation-Date: 2017-07-22 16:14:25+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -1308,17 +1308,17 @@ msgstr "" #. with `ws_plugin__s2member_paypal_payflow_api_response`. #: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:96 #: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:325 -#: src/includes/classes/paypal-utilities.inc.php:315 -#: src/includes/classes/paypal-utilities.inc.php:323 +#: src/includes/classes/paypal-utilities.inc.php:340 +#: src/includes/classes/paypal-utilities.inc.php:348 msgctxt "s2member-front" msgid "Error #%1$s. %2$s." msgstr "" #: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:99 #: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:328 -#: src/includes/classes/paypal-utilities.inc.php:189 -#: src/includes/classes/paypal-utilities.inc.php:317 -#: src/includes/classes/paypal-utilities.inc.php:325 +#: src/includes/classes/paypal-utilities.inc.php:214 +#: src/includes/classes/paypal-utilities.inc.php:342 +#: src/includes/classes/paypal-utilities.inc.php:350 msgctxt "s2member-front" msgid "Error. Please contact Support for assistance." msgstr "" @@ -4447,23 +4447,23 @@ msgstr "" #. by PayPal. Replace `%2$s` and `%3$s` with: `Unable to process, please try #. again`, or something to that affect. Or, if you prefer, you could Filter #. ``$response["__error"]`` with `ws_plugin__s2member_paypal_api_response`. -#: src/includes/classes/paypal-utilities.inc.php:186 +#: src/includes/classes/paypal-utilities.inc.php:211 msgctxt "s2member-front" msgid "Error #%1$s. %2$s. %3$s." msgstr "" -#: src/includes/classes/paypal-utilities.inc.php:233 -#: src/includes/classes/paypal-utilities.inc.php:239 +#: src/includes/classes/paypal-utilities.inc.php:258 +#: src/includes/classes/paypal-utilities.inc.php:264 msgctxt "s2member-front" msgid "Error #%s. Transaction declined. Please use an alternate funding source." msgstr "" -#: src/includes/classes/paypal-utilities.inc.php:236 +#: src/includes/classes/paypal-utilities.inc.php:261 msgctxt "s2member-front" msgid "Error #%s. Transaction declined. Express Checkout was NOT confirmed." msgstr "" -#: src/includes/classes/paypal-utilities.inc.php:370 +#: src/includes/classes/paypal-utilities.inc.php:395 msgctxt "s2member-front" msgid " Please contact PayPal Merchant Technical Support (www.paypal.com/mts) and request `Recurring Billing` service, and also ask to have `Reference Transactions` enabled for Recurring Billing via Express Checkout." msgstr ""