WP User Avatar - Version 4.0.1

Version Description

  • Fixed bug with member directory role restriction not working.
  • Fixed: Uncaught Error: Call to a member function exists().
Download this release

Release Info

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

Code changes from version 4.0.0 to 4.0.1

changelog.txt CHANGED
@@ -1,7 +1,11 @@
1
  == Changelog ==
2
 
 
 
 
 
3
  = 4.0.0 =
4
- * Added paid membership feature.
5
  * Fixed bug where upload field with data is still required.
6
 
7
  = 3.2.15 =
1
  == Changelog ==
2
 
3
+ = 4.0.1 =
4
+ * Fixed bug with member directory role restriction not working.
5
+ * Fixed: Uncaught Error: Call to a member function exists().
6
+
7
  = 4.0.0 =
8
+ * Added [paid membership feature](https://profilepress.com/announcing-paid-membership/?ref=changelog).
9
  * Fixed bug where upload field with data is still required.
10
 
11
  = 3.2.15 =
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.0.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
- "POT-Creation-Date: 2022-07-28 07:29:59+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -14674,88 +14674,88 @@ msgstr ""
14674
  msgid "In order for Stripe to function well, ensure the webhook endpoint %1$s is present in the %2$sStripe webhooks settings%3$s. Learn more from our %4$swebhook documentation%3$s"
14675
  msgstr ""
14676
 
14677
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:233
14678
  msgid "test mode"
14679
  msgstr ""
14680
 
14681
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:233
14682
  msgid "live mode"
14683
  msgstr ""
14684
 
14685
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:235
14686
  msgid "Webhook Secret"
14687
  msgstr ""
14688
 
14689
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:238
14690
  msgid "Retrieve your %3$s \"Signing secret\" from your %1$sStripe webhook settings%2$s. Select the endpoint then click \"Reveal\"."
14691
  msgstr ""
14692
 
14693
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:249
14694
  msgid "Statement Descriptor"
14695
  msgstr ""
14696
 
14697
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:252
14698
  msgid "The text that appears on your customer's bank or credit card statements. Choose something they will recognise to help prevent disputes, typically your business name. Must be limited to 22 characters, no special characters %1$s<%2$s, %1$s>%2$s, %1$s'%2$s, or %1$s\"%2$s."
14699
  msgstr ""
14700
 
14701
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:258
14702
  msgid "Payment Collection Method"
14703
  msgstr ""
14704
 
14705
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:261
14706
  msgid "Stripe Credit Card Field (On-site)"
14707
  msgstr ""
14708
 
14709
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:262
14710
  msgid "Stripe Payment Page (Off-site)"
14711
  msgstr ""
14712
 
14713
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:264
14714
  msgid "Select how payment information will be collected. Could be right on your site with Stripe card fields or off-site through Stripe hosted payment page."
14715
  msgstr ""
14716
 
14717
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:268
14718
  msgid "Remove Billing Address"
14719
  msgstr ""
14720
 
14721
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:270
14722
  msgid "Check to remove billing address fields from the checkout page."
14723
  msgstr ""
14724
 
14725
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:271
14726
  msgid "If you do not want the billing address fields displayed on the checkout page, use this setting to remove it."
14727
  msgstr ""
14728
 
14729
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:275
14730
  msgid "Restrict Stripe Assets"
14731
  msgstr ""
14732
 
14733
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:277
14734
  msgid "Only load Stripe.com hosted assets on pages that specifically utilize Stripe functionality."
14735
  msgstr ""
14736
 
14737
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:279
14738
  msgid "Stripe advises that their Javascript library be loaded on every page to take advantage of their advanced fraud detection rules. If you are not concerned with this, enable this setting to only load the Javascript when necessary. %sLearn more%s"
14739
  msgstr ""
14740
 
14741
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:298
14742
  msgid "Please enter a name for the credit card."
14743
  msgstr ""
14744
 
14745
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:423
14746
  msgid "Attempted cancellation but was unable. Message was \"%s\"."
14747
  msgstr ""
14748
 
14749
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:532
14750
  #: src/templates/checkout/credit-card-fields.php:5
14751
  msgid "Name on card"
14752
  msgstr ""
14753
 
14754
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:540
14755
  msgid "Credit card"
14756
  msgstr ""
14757
 
14758
- #: src/Membership/PaymentMethods/Stripe/Stripe.php:685
14759
  msgid "No payment method found. Please try again."
14760
  msgstr ""
14761
 
@@ -15610,7 +15610,7 @@ msgid "Fields to show in sorting dropdown menu"
15610
  msgstr ""
15611
 
15612
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:244
15613
- #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:846
15614
  msgid "Search"
15615
  msgstr ""
15616
 
@@ -15682,11 +15682,11 @@ msgstr ""
15682
  msgid "Oldest Users First"
15683
  msgstr ""
15684
 
15685
- #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:713
15686
  msgid "Sort by"
15687
  msgstr ""
15688
 
15689
- #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:750
15690
  msgid "More Filters"
15691
  msgstr ""
15692
 
2
  # This file is distributed under the same license as the ProfilePress package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: ProfilePress 4.0.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
+ "POT-Creation-Date: 2022-07-29 10:43:37+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
14674
  msgid "In order for Stripe to function well, ensure the webhook endpoint %1$s is present in the %2$sStripe webhooks settings%3$s. Learn more from our %4$swebhook documentation%3$s"
14675
  msgstr ""
14676
 
14677
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:232
14678
  msgid "test mode"
14679
  msgstr ""
14680
 
14681
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:232
14682
  msgid "live mode"
14683
  msgstr ""
14684
 
14685
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:234
14686
  msgid "Webhook Secret"
14687
  msgstr ""
14688
 
14689
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:237
14690
  msgid "Retrieve your %3$s \"Signing secret\" from your %1$sStripe webhook settings%2$s. Select the endpoint then click \"Reveal\"."
14691
  msgstr ""
14692
 
14693
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:248
14694
  msgid "Statement Descriptor"
14695
  msgstr ""
14696
 
14697
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:251
14698
  msgid "The text that appears on your customer's bank or credit card statements. Choose something they will recognise to help prevent disputes, typically your business name. Must be limited to 22 characters, no special characters %1$s<%2$s, %1$s>%2$s, %1$s'%2$s, or %1$s\"%2$s."
14699
  msgstr ""
14700
 
14701
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:257
14702
  msgid "Payment Collection Method"
14703
  msgstr ""
14704
 
14705
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:260
14706
  msgid "Stripe Credit Card Field (On-site)"
14707
  msgstr ""
14708
 
14709
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:261
14710
  msgid "Stripe Payment Page (Off-site)"
14711
  msgstr ""
14712
 
14713
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:263
14714
  msgid "Select how payment information will be collected. Could be right on your site with Stripe card fields or off-site through Stripe hosted payment page."
14715
  msgstr ""
14716
 
14717
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:267
14718
  msgid "Remove Billing Address"
14719
  msgstr ""
14720
 
14721
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:269
14722
  msgid "Check to remove billing address fields from the checkout page."
14723
  msgstr ""
14724
 
14725
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:270
14726
  msgid "If you do not want the billing address fields displayed on the checkout page, use this setting to remove it."
14727
  msgstr ""
14728
 
14729
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:274
14730
  msgid "Restrict Stripe Assets"
14731
  msgstr ""
14732
 
14733
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:276
14734
  msgid "Only load Stripe.com hosted assets on pages that specifically utilize Stripe functionality."
14735
  msgstr ""
14736
 
14737
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:278
14738
  msgid "Stripe advises that their Javascript library be loaded on every page to take advantage of their advanced fraud detection rules. If you are not concerned with this, enable this setting to only load the Javascript when necessary. %sLearn more%s"
14739
  msgstr ""
14740
 
14741
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:297
14742
  msgid "Please enter a name for the credit card."
14743
  msgstr ""
14744
 
14745
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:422
14746
  msgid "Attempted cancellation but was unable. Message was \"%s\"."
14747
  msgstr ""
14748
 
14749
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:531
14750
  #: src/templates/checkout/credit-card-fields.php:5
14751
  msgid "Name on card"
14752
  msgstr ""
14753
 
14754
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:539
14755
  msgid "Credit card"
14756
  msgstr ""
14757
 
14758
+ #: src/Membership/PaymentMethods/Stripe/Stripe.php:684
14759
  msgid "No payment method found. Please try again."
14760
  msgstr ""
14761
 
15610
  msgstr ""
15611
 
15612
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:244
15613
+ #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:845
15614
  msgid "Search"
15615
  msgstr ""
15616
 
15682
  msgid "Oldest Users First"
15683
  msgstr ""
15684
 
15685
+ #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:712
15686
  msgid "Sort by"
15687
  msgstr ""
15688
 
15689
+ #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:749
15690
  msgid "More Filters"
15691
  msgstr ""
15692
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: membership, ecommerce, user registration, user profile, stripe, login form
5
  Requires at least: 5.3
6
  Requires PHP: 7.1.8
7
  Tested up to: 6.0
8
- Stable tag: 4.0.0
9
  License: GPLv2 or later
10
 
11
  WordPress paid membership plugin: accept payments, sell subscriptions, restrict content, user registration, frontend login form, user profile & member directory.
@@ -143,6 +143,10 @@ No. You can create and manage your forms, user profiles, and member directories
143
 
144
  == Changelog ==
145
 
 
 
 
 
146
  = 4.0.0 =
147
  * Added [paid membership feature](https://profilepress.com/announcing-paid-membership/?ref=changelog).
148
  * Fixed bug where upload field with data is still required.
5
  Requires at least: 5.3
6
  Requires PHP: 7.1.8
7
  Tested up to: 6.0
8
+ Stable tag: 4.0.1
9
  License: GPLv2 or later
10
 
11
  WordPress paid membership plugin: accept payments, sell subscriptions, restrict content, user registration, frontend login form, user profile & member directory.
143
 
144
  == Changelog ==
145
 
146
+ = 4.0.1 =
147
+ * Fixed bug with member directory role restriction not working.
148
+ * Fixed: Uncaught Error: Call to a member function exists().
149
+
150
  = 4.0.0 =
151
  * Added [paid membership feature](https://profilepress.com/announcing-paid-membership/?ref=changelog).
152
  * Fixed bug where upload field with data is still required.
src/Membership/PaymentMethods/Stripe/Stripe.php CHANGED
@@ -224,8 +224,7 @@ class Stripe extends AbstractPaymentMethod
224
  '<code>' . esc_url($this->get_webhook_url()) . '</code>',
225
  '<a target="_blank" href="' . esc_url($stripe_webhook_url) . '">',
226
  '</a>',
227
- /** @todo add doc link */
228
- '<a target="_blank" href="#">'
229
  ),
230
  ];
231
  }
224
  '<code>' . esc_url($this->get_webhook_url()) . '</code>',
225
  '<a target="_blank" href="' . esc_url($stripe_webhook_url) . '">',
226
  '</a>',
227
+ '<a target="_blank" href="https://profilepress.com/article/setting-up-stripe/">'
 
228
  ),
229
  ];
230
  }
src/ShortcodeParser/Builder/FieldsShortcodeCallback.php CHANGED
@@ -36,7 +36,7 @@ class FieldsShortcodeCallback
36
  $flag = false;
37
  if (function_exists('wp_get_current_user')) {
38
  $this->get_current_user();
39
- if ($this->current_user->exists()) $flag = true;
40
  }
41
 
42
  if ( ! $flag) {
36
  $flag = false;
37
  if (function_exists('wp_get_current_user')) {
38
  $this->get_current_user();
39
+ if (method_exists($this->current_user, 'exists') && $this->current_user->exists()) $flag = true;
40
  }
41
 
42
  if ( ! $flag) {
src/Themes/DragDrop/AbstractMemberDirectoryTheme.php CHANGED
@@ -516,8 +516,7 @@ abstract class AbstractMemberDirectoryTheme extends AbstractTheme
516
  'number' => $parsed_args['number'],
517
  'paged' => $parsed_args['paged'],
518
  'offset' => $parsed_args['offset'],
519
- // excluded cos we are doing this filtering in PHP self::wp_user_query()
520
- //'role__in' => $parsed_args['roles'],
521
  'include' => $parsed_args['include_user_ids'],
522
  'exclude' => $parsed_args['exclude_user_ids']
523
  ];
516
  'number' => $parsed_args['number'],
517
  'paged' => $parsed_args['paged'],
518
  'offset' => $parsed_args['offset'],
519
+ 'role__in' => $parsed_args['roles'],
 
520
  'include' => $parsed_args['include_user_ids'],
521
  'exclude' => $parsed_args['exclude_user_ids']
522
  ];
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 ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInit40ca83d6e68840400e7fdbeefd037854::getLoader();
third-party/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6
6
  {
7
  private static $loader;
8
 
@@ -24,19 +24,19 @@ class ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInit06236a685cdabe49ff2a98b6b29aa6f6::getInitializer($loader));
33
 
34
  $loader->setClassMapAuthoritative(true);
35
  $loader->register(true);
36
 
37
- $includeFiles = \Composer\Autoload\ComposerStaticInit06236a685cdabe49ff2a98b6b29aa6f6::$files;
38
  foreach ($includeFiles as $fileIdentifier => $file) {
39
- composerRequire06236a685cdabe49ff2a98b6b29aa6f6($fileIdentifier, $file);
40
  }
41
 
42
  return $loader;
@@ -48,7 +48,7 @@ class ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6
48
  * @param string $file
49
  * @return void
50
  */
51
- function composerRequire06236a685cdabe49ff2a98b6b29aa6f6($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 ComposerAutoloaderInit40ca83d6e68840400e7fdbeefd037854
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit40ca83d6e68840400e7fdbeefd037854', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit40ca83d6e68840400e7fdbeefd037854', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit40ca83d6e68840400e7fdbeefd037854::getInitializer($loader));
33
 
34
  $loader->setClassMapAuthoritative(true);
35
  $loader->register(true);
36
 
37
+ $includeFiles = \Composer\Autoload\ComposerStaticInit40ca83d6e68840400e7fdbeefd037854::$files;
38
  foreach ($includeFiles as $fileIdentifier => $file) {
39
+ composerRequire40ca83d6e68840400e7fdbeefd037854($fileIdentifier, $file);
40
  }
41
 
42
  return $loader;
48
  * @param string $file
49
  * @return void
50
  */
51
+ function composerRequire40ca83d6e68840400e7fdbeefd037854($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 ComposerStaticInit06236a685cdabe49ff2a98b6b29aa6f6
8
  {
9
  public static $files = array (
10
  'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@@ -563,9 +563,9 @@ class ComposerStaticInit06236a685cdabe49ff2a98b6b29aa6f6
563
  public static function getInitializer(ClassLoader $loader)
564
  {
565
  return \Closure::bind(function () use ($loader) {
566
- $loader->prefixLengthsPsr4 = ComposerStaticInit06236a685cdabe49ff2a98b6b29aa6f6::$prefixLengthsPsr4;
567
- $loader->prefixDirsPsr4 = ComposerStaticInit06236a685cdabe49ff2a98b6b29aa6f6::$prefixDirsPsr4;
568
- $loader->classMap = ComposerStaticInit06236a685cdabe49ff2a98b6b29aa6f6::$classMap;
569
 
570
  }, null, ClassLoader::class);
571
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit40ca83d6e68840400e7fdbeefd037854
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 = ComposerStaticInit40ca83d6e68840400e7fdbeefd037854::$prefixLengthsPsr4;
567
+ $loader->prefixDirsPsr4 = ComposerStaticInit40ca83d6e68840400e7fdbeefd037854::$prefixDirsPsr4;
568
+ $loader->classMap = ComposerStaticInit40ca83d6e68840400e7fdbeefd037854::$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' => 'a2558145e7c2b15c14509c96168127614006b141', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'a2558145e7c2b15c14509c96168127614006b141', '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.60.0', 'version' => '2.60.0.0', 'reference' => '00a259ae02b003c563158b54fb6743252b638ea6', '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.0', 'version' => '6.0.0.0', 'reference' => '9fe5eeb044f7837b32df274857a91a635052fa49', '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.37', 'version' => '4.4.37.0', 'reference' => '0628e6c6d7c92f1a7bae543959bdc17347be2436', '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.41', 'version' => '4.4.41.0', 'reference' => 'dcb67eae126e74507e0b4f0b9ac6ef35b37c3331', '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' => '841d3765c4f0407616e7ac6167b1f7db93f4d152', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '841d3765c4f0407616e7ac6167b1f7db93f4d152', '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.60.0', 'version' => '2.60.0.0', 'reference' => '00a259ae02b003c563158b54fb6743252b638ea6', '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.0', 'version' => '6.0.0.0', 'reference' => '9fe5eeb044f7837b32df274857a91a635052fa49', '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.37', 'version' => '4.4.37.0', 'reference' => '0628e6c6d7c92f1a7bae543959bdc17347be2436', '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.41', 'version' => '4.4.41.0', 'reference' => 'dcb67eae126e74507e0b4f0b9ac6ef35b37c3331', '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('ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6', false) && !interface_exists('ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6', false) && !trait_exists('ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6', false)) {
10
- spl_autoload_call('ProfilePressVendor\ComposerAutoloaderInit06236a685cdabe49ff2a98b6b29aa6f6');
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('ComposerAutoloaderInit40ca83d6e68840400e7fdbeefd037854', false) && !interface_exists('ComposerAutoloaderInit40ca83d6e68840400e7fdbeefd037854', false) && !trait_exists('ComposerAutoloaderInit40ca83d6e68840400e7fdbeefd037854', false)) {
10
+ spl_autoload_call('ProfilePressVendor\ComposerAutoloaderInit40ca83d6e68840400e7fdbeefd037854');
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.0.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.0.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.0.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.0.1');
17
 
18
  if ( ! defined('PPRESS_STRIPE_API_VERSION')) {
19
  define('PPRESS_STRIPE_API_VERSION', '2020-08-27');