WP User Avatar - Version 4.1.1

Version Description

  • Fixed bug with Stripe webhook 404ing.
Download this release

Release Info

Developer Collizo4sky
Plugin Icon 128x128 WP User Avatar
Version 4.1.1
Comparing to
See all releases

Code changes from version 4.1.0 to 4.1.1

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  == Changelog ==
2
 
 
 
 
3
  = 4.1.0 =
4
  * Pro: [PayPal Checkout addon](https://profilepress.com/addons/paypal/?ref=changelog) is live.
5
  * Pro: Added &mdash as default select options for [profile custom fields](https://profilepress.com/addons/custom-fields/?ref=changelog).
1
  == Changelog ==
2
 
3
+ = 4.1.1 =
4
+ * Fixed bug with Stripe webhook 404ing.
5
+
6
  = 4.1.0 =
7
  * Pro: [PayPal Checkout addon](https://profilepress.com/addons/paypal/?ref=changelog) is live.
8
  * Pro: Added &mdash as default select options for [profile custom fields](https://profilepress.com/addons/custom-fields/?ref=changelog).
languages/wp-user-avatar.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the ProfilePress package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: ProfilePress 4.1.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
- "POT-Creation-Date: 2022-08-14 12:58:13+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the ProfilePress package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: ProfilePress 4.1.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
+ "POT-Creation-Date: 2022-08-16 14:43:54+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: membership, ecommerce, user registration, user profile, stripe, paypal, lo
5
  Requires at least: 5.3
6
  Requires PHP: 7.1.8
7
  Tested up to: 6.0
8
- Stable tag: 4.1.0
9
  License: GPLv2 or later
10
 
11
  Paid membership plugin: accept payments, sell subscriptions, restrict content, user registration, frontend login form, user profile & member directory.
@@ -144,6 +144,9 @@ No. You can create and manage your forms, user profiles, and member directories
144
 
145
  == Changelog ==
146
 
 
 
 
147
  = 4.1.0 =
148
  * Pro: [PayPal Checkout addon](https://profilepress.com/addons/paypal/?ref=changelog) is live.
149
  * Pro: Added &mdash as default select options for [profile custom fields](https://profilepress.com/addons/custom-fields/?ref=changelog).
5
  Requires at least: 5.3
6
  Requires PHP: 7.1.8
7
  Tested up to: 6.0
8
+ Stable tag: 4.1.1
9
  License: GPLv2 or later
10
 
11
  Paid membership plugin: accept payments, sell subscriptions, restrict content, user registration, frontend login form, user profile & member directory.
144
 
145
  == Changelog ==
146
 
147
+ = 4.1.1 =
148
+ * Fixed bug with Stripe webhook 404ing.
149
+
150
  = 4.1.0 =
151
  * Pro: [PayPal Checkout addon](https://profilepress.com/addons/paypal/?ref=changelog) is live.
152
  * Pro: Added &mdash as default select options for [profile custom fields](https://profilepress.com/addons/custom-fields/?ref=changelog).
src/Membership/PaymentMethods/Stripe/Stripe.php CHANGED
@@ -844,7 +844,6 @@ class Stripe extends AbstractPaymentMethod
844
  APIClass::_setup();
845
 
846
  $endpoint_secret = Helpers::get_webhook_secret();
847
- $endpoint_secret = 'whsec_996591bf560bd2890902c5df4533d8af0feb19d20ea942d7c48d6c4582ca16df';
848
 
849
  $payload = @file_get_contents('php://input');
850
  $sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE'];
844
  APIClass::_setup();
845
 
846
  $endpoint_secret = Helpers::get_webhook_secret();
 
847
 
848
  $payload = @file_get_contents('php://input');
849
  $sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE'];
third-party/vendor/autoload.php CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInita99d1deb2b8e05b79d3c562b7f137858::getLoader();
third-party/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc
6
  {
7
  private static $loader;
8
 
@@ -24,19 +24,19 @@ class ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInit207fdfec100afcdc47038e3c349dfcbc::getInitializer($loader));
33
 
34
  $loader->setClassMapAuthoritative(true);
35
  $loader->register(true);
36
 
37
- $includeFiles = \Composer\Autoload\ComposerStaticInit207fdfec100afcdc47038e3c349dfcbc::$files;
38
  foreach ($includeFiles as $fileIdentifier => $file) {
39
- composerRequire207fdfec100afcdc47038e3c349dfcbc($fileIdentifier, $file);
40
  }
41
 
42
  return $loader;
@@ -48,7 +48,7 @@ class ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc
48
  * @param string $file
49
  * @return void
50
  */
51
- function composerRequire207fdfec100afcdc47038e3c349dfcbc($fileIdentifier, $file)
52
  {
53
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
54
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInita99d1deb2b8e05b79d3c562b7f137858
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInita99d1deb2b8e05b79d3c562b7f137858', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInita99d1deb2b8e05b79d3c562b7f137858', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInita99d1deb2b8e05b79d3c562b7f137858::getInitializer($loader));
33
 
34
  $loader->setClassMapAuthoritative(true);
35
  $loader->register(true);
36
 
37
+ $includeFiles = \Composer\Autoload\ComposerStaticInita99d1deb2b8e05b79d3c562b7f137858::$files;
38
  foreach ($includeFiles as $fileIdentifier => $file) {
39
+ composerRequirea99d1deb2b8e05b79d3c562b7f137858($fileIdentifier, $file);
40
  }
41
 
42
  return $loader;
48
  * @param string $file
49
  * @return void
50
  */
51
+ function composerRequirea99d1deb2b8e05b79d3c562b7f137858($fileIdentifier, $file)
52
  {
53
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
54
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
third-party/vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit207fdfec100afcdc47038e3c349dfcbc
8
  {
9
  public static $files = array (
10
  'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@@ -563,9 +563,9 @@ class ComposerStaticInit207fdfec100afcdc47038e3c349dfcbc
563
  public static function getInitializer(ClassLoader $loader)
564
  {
565
  return \Closure::bind(function () use ($loader) {
566
- $loader->prefixLengthsPsr4 = ComposerStaticInit207fdfec100afcdc47038e3c349dfcbc::$prefixLengthsPsr4;
567
- $loader->prefixDirsPsr4 = ComposerStaticInit207fdfec100afcdc47038e3c349dfcbc::$prefixDirsPsr4;
568
- $loader->classMap = ComposerStaticInit207fdfec100afcdc47038e3c349dfcbc::$classMap;
569
 
570
  }, null, ClassLoader::class);
571
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInita99d1deb2b8e05b79d3c562b7f137858
8
  {
9
  public static $files = array (
10
  'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
563
  public static function getInitializer(ClassLoader $loader)
564
  {
565
  return \Closure::bind(function () use ($loader) {
566
+ $loader->prefixLengthsPsr4 = ComposerStaticInita99d1deb2b8e05b79d3c562b7f137858::$prefixLengthsPsr4;
567
+ $loader->prefixDirsPsr4 = ComposerStaticInita99d1deb2b8e05b79d3c562b7f137858::$prefixDirsPsr4;
568
+ $loader->classMap = ComposerStaticInita99d1deb2b8e05b79d3c562b7f137858::$classMap;
569
 
570
  }, null, ClassLoader::class);
571
  }
third-party/vendor/composer/installed.php CHANGED
@@ -2,4 +2,4 @@
2
 
3
  namespace ProfilePressVendor;
4
 
5
- return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'b946e8311b2fe72196221b5fca86db59c29ce8ed', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'b946e8311b2fe72196221b5fca86db59c29ce8ed', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'barryvdh/composer-cleanup-plugin' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '74d878666436c99f5b671b90312e85479afeedb0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../barryvdh/composer-cleanup-plugin', 'aliases' => array(0 => '0.1.x-dev'), 'dev_requirement' => \false), 'brick/math' => array('pretty_version' => '0.9.3', 'version' => '0.9.3.0', 'reference' => 'ca57d18f028f84f777b2168cd1911b0dee2343ae', 'type' => 'library', 'install_path' => __DIR__ . '/../brick/math', 'aliases' => array(), 'dev_requirement' => \false), 'collizo4sky/persist-admin-notices-dismissal' => array('pretty_version' => '1.4.4', 'version' => '1.4.4.0', 'reference' => '900739eb6b0ec0210465f5983a6d4e0e420289e4', 'type' => 'library', 'install_path' => __DIR__ . '/../collizo4sky/persist-admin-notices-dismissal', 'aliases' => array(), 'dev_requirement' => \false), 'nesbot/carbon' => array('pretty_version' => '2.61.0', 'version' => '2.61.0.0', 'reference' => 'bdf4f4fe3a3eac4de84dbec0738082a862c68ba6', 'type' => 'library', 'install_path' => __DIR__ . '/../nesbot/carbon', 'aliases' => array(), 'dev_requirement' => \false), 'pelago/emogrifier' => array('pretty_version' => 'v3.1.0', 'version' => '3.1.0.0', 'reference' => 'f6a5c7d44612d86c3901c93f1592f5440e6b2cd8', 'type' => 'library', 'install_path' => __DIR__ . '/../pelago/emogrifier', 'aliases' => array(), 'dev_requirement' => \false), 'sniccowp/php-scoper-wordpress-excludes' => array('pretty_version' => '6.0.1', 'version' => '6.0.1.0', 'reference' => '6fce87f9c5463223013745ec5489967198c11348', 'type' => 'library', 'install_path' => __DIR__ . '/../sniccowp/php-scoper-wordpress-excludes', 'aliases' => array(), 'dev_requirement' => \true), 'stripe/stripe-php' => array('pretty_version' => 'v7.128.0', 'version' => '7.128.0.0', 'reference' => 'c704949c49b72985c76cc61063aa26fefbd2724e', 'type' => 'library', 'install_path' => __DIR__ . '/../stripe/stripe-php', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/css-selector' => array('pretty_version' => 'v4.4.44', 'version' => '4.4.44.0', 'reference' => 'bd0a6737e48de45b4b0b7b6fc98c78404ddceaed', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/css-selector', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => '9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-php80' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => 'cfa0ae98841b9e461207c13ab093d76b0fa7bace', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation' => array('pretty_version' => 'v4.4.44', 'version' => '4.4.44.0', 'reference' => 'af947fefc306cec6ea5a1f6160c7e305a71f2493', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/translation', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-contracts' => array('pretty_version' => 'v1.1.13', 'version' => '1.1.13.0', 'reference' => '7462e5c4cb8b9cd152f992e8f10963b5641921f6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/translation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0'))));
2
 
3
  namespace ProfilePressVendor;
4
 
5
+ return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'c329a8f63313a449ceb9089a16b8171fbaf42595', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'c329a8f63313a449ceb9089a16b8171fbaf42595', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'barryvdh/composer-cleanup-plugin' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '74d878666436c99f5b671b90312e85479afeedb0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../barryvdh/composer-cleanup-plugin', 'aliases' => array(0 => '0.1.x-dev'), 'dev_requirement' => \false), 'brick/math' => array('pretty_version' => '0.9.3', 'version' => '0.9.3.0', 'reference' => 'ca57d18f028f84f777b2168cd1911b0dee2343ae', 'type' => 'library', 'install_path' => __DIR__ . '/../brick/math', 'aliases' => array(), 'dev_requirement' => \false), 'collizo4sky/persist-admin-notices-dismissal' => array('pretty_version' => '1.4.4', 'version' => '1.4.4.0', 'reference' => '900739eb6b0ec0210465f5983a6d4e0e420289e4', 'type' => 'library', 'install_path' => __DIR__ . '/../collizo4sky/persist-admin-notices-dismissal', 'aliases' => array(), 'dev_requirement' => \false), 'nesbot/carbon' => array('pretty_version' => '2.61.0', 'version' => '2.61.0.0', 'reference' => 'bdf4f4fe3a3eac4de84dbec0738082a862c68ba6', 'type' => 'library', 'install_path' => __DIR__ . '/../nesbot/carbon', 'aliases' => array(), 'dev_requirement' => \false), 'pelago/emogrifier' => array('pretty_version' => 'v3.1.0', 'version' => '3.1.0.0', 'reference' => 'f6a5c7d44612d86c3901c93f1592f5440e6b2cd8', 'type' => 'library', 'install_path' => __DIR__ . '/../pelago/emogrifier', 'aliases' => array(), 'dev_requirement' => \false), 'sniccowp/php-scoper-wordpress-excludes' => array('pretty_version' => '6.0.1', 'version' => '6.0.1.0', 'reference' => '6fce87f9c5463223013745ec5489967198c11348', 'type' => 'library', 'install_path' => __DIR__ . '/../sniccowp/php-scoper-wordpress-excludes', 'aliases' => array(), 'dev_requirement' => \true), 'stripe/stripe-php' => array('pretty_version' => 'v7.128.0', 'version' => '7.128.0.0', 'reference' => 'c704949c49b72985c76cc61063aa26fefbd2724e', 'type' => 'library', 'install_path' => __DIR__ . '/../stripe/stripe-php', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/css-selector' => array('pretty_version' => 'v4.4.44', 'version' => '4.4.44.0', 'reference' => 'bd0a6737e48de45b4b0b7b6fc98c78404ddceaed', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/css-selector', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => '9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-php80' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => 'cfa0ae98841b9e461207c13ab093d76b0fa7bace', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation' => array('pretty_version' => 'v4.4.44', 'version' => '4.4.44.0', 'reference' => 'af947fefc306cec6ea5a1f6160c7e305a71f2493', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/translation', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-contracts' => array('pretty_version' => 'v1.1.13', 'version' => '1.1.13.0', 'reference' => '7462e5c4cb8b9cd152f992e8f10963b5641921f6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/translation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0'))));
third-party/vendor/scoper-autoload.php CHANGED
@@ -6,8 +6,8 @@ $loader = require_once __DIR__.'/autoload.php';
6
 
7
  // Exposed classes. For more information see:
8
  // https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#exposing-classes
9
- if (!class_exists('ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc', false) && !interface_exists('ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc', false) && !trait_exists('ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc', false)) {
10
- spl_autoload_call('ProfilePressVendor\ComposerAutoloaderInit207fdfec100afcdc47038e3c349dfcbc');
11
  }
12
  if (!class_exists('PAnD', false) && !interface_exists('PAnD', false) && !trait_exists('PAnD', false)) {
13
  spl_autoload_call('ProfilePressVendor\PAnD');
6
 
7
  // Exposed classes. For more information see:
8
  // https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#exposing-classes
9
+ if (!class_exists('ComposerAutoloaderInita99d1deb2b8e05b79d3c562b7f137858', false) && !interface_exists('ComposerAutoloaderInita99d1deb2b8e05b79d3c562b7f137858', false) && !trait_exists('ComposerAutoloaderInita99d1deb2b8e05b79d3c562b7f137858', false)) {
10
+ spl_autoload_call('ProfilePressVendor\ComposerAutoloaderInita99d1deb2b8e05b79d3c562b7f137858');
11
  }
12
  if (!class_exists('PAnD', false) && !interface_exists('PAnD', false) && !trait_exists('PAnD', false)) {
13
  spl_autoload_call('ProfilePressVendor\PAnD');
wp-user-avatar.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: ProfilePress
4
  * Plugin URI: https://profilepress.com
5
  * Description: The modern WordPress membership and user profile plugin.
6
- * Version: 4.1.0
7
  * Author: ProfilePress Membership Team
8
  * Author URI: https://profilepress.com
9
  * Text Domain: wp-user-avatar
@@ -13,7 +13,7 @@
13
  defined('ABSPATH') or die("No script kiddies please!");
14
 
15
  define('PROFILEPRESS_SYSTEM_FILE_PATH', __FILE__);
16
- define('PPRESS_VERSION_NUMBER', '4.1.0');
17
 
18
  if ( ! defined('PPRESS_STRIPE_API_VERSION')) {
19
  define('PPRESS_STRIPE_API_VERSION', '2020-08-27');
3
  * Plugin Name: ProfilePress
4
  * Plugin URI: https://profilepress.com
5
  * Description: The modern WordPress membership and user profile plugin.
6
+ * Version: 4.1.1
7
  * Author: ProfilePress Membership Team
8
  * Author URI: https://profilepress.com
9
  * Text Domain: wp-user-avatar
13
  defined('ABSPATH') or die("No script kiddies please!");
14
 
15
  define('PROFILEPRESS_SYSTEM_FILE_PATH', __FILE__);
16
+ define('PPRESS_VERSION_NUMBER', '4.1.1');
17
 
18
  if ( ! defined('PPRESS_STRIPE_API_VERSION')) {
19
  define('PPRESS_STRIPE_API_VERSION', '2020-08-27');