s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members) - Version 200301

Version Description

= v160801 =

(Maintenance Release) Upgrade immediately.

Download this release

Release Info

Developer clavaque
Plugin Icon 128x128 s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members)
Version 200301
Comparing to
See all releases

Code changes from version 200221 to 200301

readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members) ===
2
 
3
- Version: 200221
4
- Stable tag: 200221
5
  Tested up to: 5.4-beta2
6
  Requires at least: 4.2
7
  Requires PHP: 5.6.2
@@ -137,6 +137,16 @@ Released under the terms of the [GNU General Public License](http://www.gnu.org/
137
 
138
  == Changelog ==
139
 
 
 
 
 
 
 
 
 
 
 
140
  = v200221 =
141
 
142
  - (s2Member Pro) **Bug Fix:** In some rare cases, another plugin loaded Stripe's class before s2Member, so when s2 tried loading it there'd be an error. This release fixes the check for the class before trying to load it. See [issue #1170](https://github.com/wpsharks/s2member/issues/1170)
1
  === s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members) ===
2
 
3
+ Version: 200301
4
+ Stable tag: 200301
5
  Tested up to: 5.4-beta2
6
  Requires at least: 4.2
7
  Requires PHP: 5.6.2
137
 
138
  == Changelog ==
139
 
140
+ = v200301 =
141
+
142
+ - (s2Member Pro) **Enhancement:** Added "Powered by Stripe" to Stripe pro-form's payment card field. Kudos to Josh, see [post 6716](https://f.wpsharks.com/t/6716).
143
+
144
+ - (s2Member Pro) **Bug Fix:** Stripe subscription cancellations were not happening when they should. This release updates the API integration for it and fixes that behavior. Kudos to Matt for reporting it, see [post 6909](https://f.wpsharks.com/t/6909).
145
+
146
+ - (s2Member Pro) **Bug Fix:** Updating the card with Stripe's pro-form sometimes gave an incorrect "missing billing method" error. Kudos to Corey, see [post 7058](https://f.wpsharks.com/t/7058).
147
+
148
+ - (s2Member Pro) **Small fix:** Removed Bitcoin mention next to Stripe in Gateways list. Missed it in [v191022](https://s2member.com/s2member-v191022-now-available/).
149
+
150
  = v200221 =
151
 
152
  - (s2Member Pro) **Bug Fix:** In some rare cases, another plugin loaded Stripe's class before s2Member, so when s2 tried loading it there'd be an error. This release fixes the check for the class before trying to load it. See [issue #1170](https://github.com/wpsharks/s2member/issues/1170)
s2member.php CHANGED
@@ -20,8 +20,8 @@
20
  */
21
  /* -- This section for WordPress parsing. ------------------------------------------------------------------------------
22
 
23
- Version: 200221
24
- Stable tag: 200221
25
 
26
  SSL Compatible: yes
27
  bbPress Compatible: yes
@@ -77,7 +77,7 @@ if(!defined('WPINC')) // MUST have WordPress.
77
  *
78
  * @var string
79
  */
80
- ${__FILE__}['tmp'] = '200221'; //version//
81
  if(!defined('WS_PLUGIN__S2MEMBER_VERSION'))
82
  define('WS_PLUGIN__S2MEMBER_VERSION', ${__FILE__}['tmp']);
83
  /**
@@ -110,7 +110,7 @@ if(!defined('WS_PLUGIN__S2MEMBER_MIN_WP_VERSION'))
110
  *
111
  * @var string
112
  */
113
- ${__FILE__}['tmp'] = '200221'; //version//
114
  if(!defined('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION'))
115
  define('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION', ${__FILE__}['tmp']);
116
  /*
20
  */
21
  /* -- This section for WordPress parsing. ------------------------------------------------------------------------------
22
 
23
+ Version: 200301
24
+ Stable tag: 200301
25
 
26
  SSL Compatible: yes
27
  bbPress Compatible: yes
77
  *
78
  * @var string
79
  */
80
+ ${__FILE__}['tmp'] = '200301'; //version//
81
  if(!defined('WS_PLUGIN__S2MEMBER_VERSION'))
82
  define('WS_PLUGIN__S2MEMBER_VERSION', ${__FILE__}['tmp']);
83
  /**
110
  *
111
  * @var string
112
  */
113
+ ${__FILE__}['tmp'] = '200301'; //version//
114
  if(!defined('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION'))
115
  define('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION', ${__FILE__}['tmp']);
116
  /*
src/includes/translations/s2member.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: 200221\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/s2member\n"
7
- "POT-Creation-Date: 2020-02-21 18:56:34+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -20,7 +20,7 @@ msgstr ""
20
  #: pro/src/includes/classes/coupons.inc.php:241
21
  #: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:692
22
  #: pro/src/includes/classes/gateways/paypal/paypal-utilities.inc.php:312
23
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:966
24
  msgctxt "s2member-front percentage-symbol"
25
  msgid "%"
26
  msgstr ""
@@ -1571,48 +1571,48 @@ msgctxt "s2member-front"
1571
  msgid "Error: <strong>prepaid</strong> cards not accepted at this time. Please use a different card and try again."
1572
  msgstr ""
1573
 
1574
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:739
1575
  msgctxt "s2member-front"
1576
  msgid "Error code: <code>%1$s</code>. %2$s."
1577
  msgstr ""
1578
 
1579
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:742
1580
  msgctxt "s2member-front"
1581
  msgid "Invalid parameters to Stripe; please contact the site owner."
1582
  msgstr ""
1583
 
1584
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:745
1585
  msgctxt "s2member-front"
1586
  msgid "Invalid Stripe API keys; please contact the site owner."
1587
  msgstr ""
1588
 
1589
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:748
1590
  msgctxt "s2member-front"
1591
  msgid "Network communication failure with Stripe; please try again."
1592
  msgstr ""
1593
 
1594
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:751
1595
  msgctxt "s2member-front"
1596
  msgid "Stripe API error; please try again."
1597
  msgstr ""
1598
 
1599
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:753
1600
  msgctxt "s2member-front"
1601
  msgid "Stripe error; please try again."
1602
  msgstr ""
1603
 
1604
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:1342
1605
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:1391
1606
  msgctxt "s2member-front"
1607
  msgid "Action required: 3D Secure authorization."
1608
  msgstr ""
1609
 
1610
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:1347
1611
  msgctxt "s2member-front"
1612
  msgid "Please try again with a different card."
1613
  msgstr ""
1614
 
1615
- #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:1396
1616
  msgctxt "s2member-front"
1617
  msgid "The payment failed, please try again with a different card."
1618
  msgstr ""
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: 200301\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/s2member\n"
7
+ "POT-Creation-Date: 2020-03-01 21:47:22+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
20
  #: pro/src/includes/classes/coupons.inc.php:241
21
  #: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:692
22
  #: pro/src/includes/classes/gateways/paypal/paypal-utilities.inc.php:312
23
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:974
24
  msgctxt "s2member-front percentage-symbol"
25
  msgid "%"
26
  msgstr ""
1571
  msgid "Error: <strong>prepaid</strong> cards not accepted at this time. Please use a different card and try again."
1572
  msgstr ""
1573
 
1574
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:747
1575
  msgctxt "s2member-front"
1576
  msgid "Error code: <code>%1$s</code>. %2$s."
1577
  msgstr ""
1578
 
1579
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:750
1580
  msgctxt "s2member-front"
1581
  msgid "Invalid parameters to Stripe; please contact the site owner."
1582
  msgstr ""
1583
 
1584
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:753
1585
  msgctxt "s2member-front"
1586
  msgid "Invalid Stripe API keys; please contact the site owner."
1587
  msgstr ""
1588
 
1589
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:756
1590
  msgctxt "s2member-front"
1591
  msgid "Network communication failure with Stripe; please try again."
1592
  msgstr ""
1593
 
1594
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:759
1595
  msgctxt "s2member-front"
1596
  msgid "Stripe API error; please try again."
1597
  msgstr ""
1598
 
1599
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:761
1600
  msgctxt "s2member-front"
1601
  msgid "Stripe error; please try again."
1602
  msgstr ""
1603
 
1604
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:1350
1605
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:1399
1606
  msgctxt "s2member-front"
1607
  msgid "Action required: 3D Secure authorization."
1608
  msgstr ""
1609
 
1610
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:1355
1611
  msgctxt "s2member-front"
1612
  msgid "Please try again with a different card."
1613
  msgstr ""
1614
 
1615
+ #: pro/src/includes/classes/gateways/stripe/stripe-utilities.inc.php:1404
1616
  msgctxt "s2member-front"
1617
  msgid "The payment failed, please try again with a different card."
1618
  msgstr ""
src/vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit6a18de9e73ae69e4a4a036046aee89cf::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit711b2c2a772835e7aa55513ccb6228f5::getLoader();
src/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit6a18de9e73ae69e4a4a036046aee89cf
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit6a18de9e73ae69e4a4a036046aee89cf
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit6a18de9e73ae69e4a4a036046aee89cf', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit6a18de9e73ae69e4a4a036046aee89cf', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit6a18de9e73ae69e4a4a036046aee89cf
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire6a18de9e73ae69e4a4a036046aee89cf($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire6a18de9e73ae69e4a4a036046aee89cf($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit711b2c2a772835e7aa55513ccb6228f5
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit711b2c2a772835e7aa55513ccb6228f5', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit711b2c2a772835e7aa55513ccb6228f5', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire711b2c2a772835e7aa55513ccb6228f5($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire711b2c2a772835e7aa55513ccb6228f5($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;