WP User Avatar - Version 3.2.10

Version Description

  • Added noncache to temporary redirects.
  • Fixed fatal error caused by user avatar functions.
Download this release

Release Info

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

Code changes from version 3.2.9 to 3.2.10

changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  == Changelog ==
2
 
 
 
 
 
3
  = 3.2.9 =
4
  * Fixed bug where reset password enforcement not working.
5
  * Made sure select2 is only loaded where needed in admin screens.
1
  == Changelog ==
2
 
3
+ = 3.2.10 =
4
+ * Added noncache to temporary redirects.
5
+ * Fixed fatal error caused by user avatar functions.
6
+
7
  = 3.2.9 =
8
  * Fixed bug where reset password enforcement not working.
9
  * Made sure select2 is only loaded where needed in admin screens.
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 3.2.9\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
- "POT-Creation-Date: 2022-03-09 06:22:46+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -348,7 +348,7 @@ msgstr ""
348
  #: deprecated/wp-user-avatar/includes/wpua-functions.php:78
349
  #: deprecated/wp-user-avatar/includes/wpua-functions.php:131
350
  #: src/Classes/ImageUploader.php:49
351
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:528
352
  msgid "Profile Picture"
353
  msgstr ""
354
 
@@ -2630,7 +2630,7 @@ msgid "Enter a Name"
2630
  msgstr ""
2631
 
2632
  #: src/Classes/AjaxHandler.php:217 src/Classes/AjaxHandler.php:240
2633
- #: src/Classes/PasswordReset.php:359
2634
  msgid "Unexpected error. Please try again."
2635
  msgstr ""
2636
 
@@ -2926,61 +2926,61 @@ msgstr ""
2926
  msgid "Check your email for further instruction."
2927
  msgstr ""
2928
 
2929
- #: src/Classes/PasswordReset.php:337
2930
  msgid "Sorry, that key appears to be invalid."
2931
  msgstr ""
2932
 
2933
- #: src/Classes/PasswordReset.php:340 src/ShortcodeParser/FormProcessor.php:75
2934
  msgid "Passwords do not match."
2935
  msgstr ""
2936
 
2937
- #: src/Classes/PasswordReset.php:343
2938
  msgid "Please enter your password."
2939
  msgstr ""
2940
 
2941
- #: src/Classes/PasswordReset.php:346
2942
  msgid "Sorry, that key does not appear to be valid."
2943
  msgstr ""
2944
 
2945
- #: src/Classes/PasswordReset.php:349
2946
  msgid "Password is not strong enough."
2947
  msgstr ""
2948
 
2949
- #: src/Classes/PasswordReset.php:352
2950
  msgid "You have successfully changed your password"
2951
  msgstr ""
2952
 
2953
- #: src/Classes/PasswordReset.php:355
2954
  msgid "Log in"
2955
  msgstr ""
2956
 
2957
- #: src/Classes/RegistrationAuth.php:220
2958
  msgid "%s field is required"
2959
  msgstr ""
2960
 
2961
- #: src/Classes/RegistrationAuth.php:229
2962
  msgid ""
2963
  "<strong>ERROR</strong>: This username is invalid because it uses illegal "
2964
  "characters. Please enter a valid username."
2965
  msgstr ""
2966
 
2967
- #: src/Classes/RegistrationAuth.php:233
2968
  msgid "Email address is not valid"
2969
  msgstr ""
2970
 
2971
- #: src/Classes/RegistrationAuth.php:237
2972
  msgid "Passwords do not match"
2973
  msgstr ""
2974
 
2975
- #: src/Classes/RegistrationAuth.php:241
2976
  msgid "Email addresses do not match"
2977
  msgstr ""
2978
 
2979
- #: src/Classes/RegistrationAuth.php:245
2980
  msgid "Password is not strong"
2981
  msgstr ""
2982
 
2983
- #: src/Classes/RegistrationAuth.php:411
2984
  #: src/Themes/DragDrop/AbstractTheme.php:110
2985
  msgid "Registration successful."
2986
  msgstr ""
@@ -4594,27 +4594,27 @@ msgstr ""
4594
  msgid "The password you entered is incorrect."
4595
  msgstr ""
4596
 
4597
- #: src/ShortcodeParser/FormProcessor.php:190
4598
  msgid "Authentication failed. Please try again"
4599
  msgstr ""
4600
 
4601
- #: src/ShortcodeParser/FrontendProfileTag.php:86
4602
  msgid ""
4603
  "This content is available to members only. Please <a href=\"%1$s\">login</a> "
4604
  "or <a href=\"%2$s\">register</a> to view this area."
4605
  msgstr ""
4606
 
4607
- #: src/ShortcodeParser/FrontendProfileTag.php:93
4608
  msgid "You are not authorized to access this area."
4609
  msgstr ""
4610
 
4611
- #: src/ShortcodeParser/FrontendProfileTag.php:131
4612
  msgid ""
4613
  "Form class not found. Please check if this user profile actually exist in "
4614
  "ProfilePress."
4615
  msgstr ""
4616
 
4617
- #: src/ShortcodeParser/FrontendProfileTag.php:196
4618
  #: src/Themes/DragDrop/UserProfile/Dixon.php:121
4619
  msgid "Profile"
4620
  msgstr ""
@@ -4633,35 +4633,35 @@ msgid ""
4633
  "ProfilePress."
4634
  msgstr ""
4635
 
4636
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:51
4637
  msgid "Dashboard"
4638
  msgstr ""
4639
 
4640
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:56
4641
  msgid "Account Details"
4642
  msgstr ""
4643
 
4644
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:63
4645
  #: src/ShortcodeParser/MyAccount/change-password.tmpl.php:25
4646
  msgid "Change Password"
4647
  msgstr ""
4648
 
4649
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:70
4650
  msgid "Logout"
4651
  msgstr ""
4652
 
4653
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:79
4654
  #: src/ShortcodeParser/MyAccount/email-notifications.tmpl.php:14
4655
  msgid "Email Notifications"
4656
  msgstr ""
4657
 
4658
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:90
4659
  #: src/ShortcodeParser/MyAccount/account-settings.tmpl.php:17
4660
  #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:32
4661
  msgid "Account Settings"
4662
  msgstr ""
4663
 
4664
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:527
4665
  msgid "Cover Photo (min. width: 1000px)"
4666
  msgstr ""
4667
 
@@ -5538,9 +5538,9 @@ msgstr ""
5538
  msgid "ProfilePress"
5539
  msgstr ""
5540
 
5541
- #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.2.9) #-#-#-#-#
5542
  #. Plugin URI of the plugin/theme
5543
- #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.2.9) #-#-#-#-#
5544
  #. Author URI of the plugin/theme
5545
  msgid "https://profilepress.net"
5546
  msgstr ""
2
  # This file is distributed under the same license as the ProfilePress package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: ProfilePress 3.2.10\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
+ "POT-Creation-Date: 2022-04-05 10:37: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"
348
  #: deprecated/wp-user-avatar/includes/wpua-functions.php:78
349
  #: deprecated/wp-user-avatar/includes/wpua-functions.php:131
350
  #: src/Classes/ImageUploader.php:49
351
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:529
352
  msgid "Profile Picture"
353
  msgstr ""
354
 
2630
  msgstr ""
2631
 
2632
  #: src/Classes/AjaxHandler.php:217 src/Classes/AjaxHandler.php:240
2633
+ #: src/Classes/PasswordReset.php:360
2634
  msgid "Unexpected error. Please try again."
2635
  msgstr ""
2636
 
2926
  msgid "Check your email for further instruction."
2927
  msgstr ""
2928
 
2929
+ #: src/Classes/PasswordReset.php:338
2930
  msgid "Sorry, that key appears to be invalid."
2931
  msgstr ""
2932
 
2933
+ #: src/Classes/PasswordReset.php:341 src/ShortcodeParser/FormProcessor.php:75
2934
  msgid "Passwords do not match."
2935
  msgstr ""
2936
 
2937
+ #: src/Classes/PasswordReset.php:344
2938
  msgid "Please enter your password."
2939
  msgstr ""
2940
 
2941
+ #: src/Classes/PasswordReset.php:347
2942
  msgid "Sorry, that key does not appear to be valid."
2943
  msgstr ""
2944
 
2945
+ #: src/Classes/PasswordReset.php:350
2946
  msgid "Password is not strong enough."
2947
  msgstr ""
2948
 
2949
+ #: src/Classes/PasswordReset.php:353
2950
  msgid "You have successfully changed your password"
2951
  msgstr ""
2952
 
2953
+ #: src/Classes/PasswordReset.php:356
2954
  msgid "Log in"
2955
  msgstr ""
2956
 
2957
+ #: src/Classes/RegistrationAuth.php:222
2958
  msgid "%s field is required"
2959
  msgstr ""
2960
 
2961
+ #: src/Classes/RegistrationAuth.php:231
2962
  msgid ""
2963
  "<strong>ERROR</strong>: This username is invalid because it uses illegal "
2964
  "characters. Please enter a valid username."
2965
  msgstr ""
2966
 
2967
+ #: src/Classes/RegistrationAuth.php:235
2968
  msgid "Email address is not valid"
2969
  msgstr ""
2970
 
2971
+ #: src/Classes/RegistrationAuth.php:239
2972
  msgid "Passwords do not match"
2973
  msgstr ""
2974
 
2975
+ #: src/Classes/RegistrationAuth.php:243
2976
  msgid "Email addresses do not match"
2977
  msgstr ""
2978
 
2979
+ #: src/Classes/RegistrationAuth.php:247
2980
  msgid "Password is not strong"
2981
  msgstr ""
2982
 
2983
+ #: src/Classes/RegistrationAuth.php:413
2984
  #: src/Themes/DragDrop/AbstractTheme.php:110
2985
  msgid "Registration successful."
2986
  msgstr ""
4594
  msgid "The password you entered is incorrect."
4595
  msgstr ""
4596
 
4597
+ #: src/ShortcodeParser/FormProcessor.php:191
4598
  msgid "Authentication failed. Please try again"
4599
  msgstr ""
4600
 
4601
+ #: src/ShortcodeParser/FrontendProfileTag.php:88
4602
  msgid ""
4603
  "This content is available to members only. Please <a href=\"%1$s\">login</a> "
4604
  "or <a href=\"%2$s\">register</a> to view this area."
4605
  msgstr ""
4606
 
4607
+ #: src/ShortcodeParser/FrontendProfileTag.php:95
4608
  msgid "You are not authorized to access this area."
4609
  msgstr ""
4610
 
4611
+ #: src/ShortcodeParser/FrontendProfileTag.php:133
4612
  msgid ""
4613
  "Form class not found. Please check if this user profile actually exist in "
4614
  "ProfilePress."
4615
  msgstr ""
4616
 
4617
+ #: src/ShortcodeParser/FrontendProfileTag.php:198
4618
  #: src/Themes/DragDrop/UserProfile/Dixon.php:121
4619
  msgid "Profile"
4620
  msgstr ""
4633
  "ProfilePress."
4634
  msgstr ""
4635
 
4636
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:52
4637
  msgid "Dashboard"
4638
  msgstr ""
4639
 
4640
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:57
4641
  msgid "Account Details"
4642
  msgstr ""
4643
 
4644
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:64
4645
  #: src/ShortcodeParser/MyAccount/change-password.tmpl.php:25
4646
  msgid "Change Password"
4647
  msgstr ""
4648
 
4649
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:71
4650
  msgid "Logout"
4651
  msgstr ""
4652
 
4653
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:80
4654
  #: src/ShortcodeParser/MyAccount/email-notifications.tmpl.php:14
4655
  msgid "Email Notifications"
4656
  msgstr ""
4657
 
4658
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:91
4659
  #: src/ShortcodeParser/MyAccount/account-settings.tmpl.php:17
4660
  #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:32
4661
  msgid "Account Settings"
4662
  msgstr ""
4663
 
4664
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:528
4665
  msgid "Cover Photo (min. width: 1000px)"
4666
  msgstr ""
4667
 
5538
  msgid "ProfilePress"
5539
  msgstr ""
5540
 
5541
+ #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.2.10) #-#-#-#-#
5542
  #. Plugin URI of the plugin/theme
5543
+ #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.2.10) #-#-#-#-#
5544
  #. Author URI of the plugin/theme
5545
  msgid "https://profilepress.net"
5546
  msgstr ""
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: user registration, user profile, registration form, membership, login form
5
  Requires at least: 4.7
6
  Requires PHP: 7.1.0
7
  Tested up to: 5.9
8
- Stable tag: 3.2.9
9
  License: GPLv2 or later
10
 
11
  Modern membership plugin for user registration, login form, user profile, member directories & content restriction.
@@ -118,6 +118,10 @@ No. You can create and manage your forms, user profiles and member directories w
118
 
119
  == Changelog ==
120
 
 
 
 
 
121
  = 3.2.9 =
122
  * Fixed bug where reset password enforcement not working.
123
  * Made sure select2 is only loaded where needed in admin screens.
5
  Requires at least: 4.7
6
  Requires PHP: 7.1.0
7
  Tested up to: 5.9
8
+ Stable tag: 3.2.10
9
  License: GPLv2 or later
10
 
11
  Modern membership plugin for user registration, login form, user profile, member directories & content restriction.
118
 
119
  == Changelog ==
120
 
121
+ = 3.2.10 =
122
+ * Added noncache to temporary redirects.
123
+ * Fixed fatal error caused by user avatar functions.
124
+
125
  = 3.2.9 =
126
  * Fixed bug where reset password enforcement not working.
127
  * Made sure select2 is only loaded where needed in admin screens.
src/AdminBarDashboardAccess/Init.php CHANGED
@@ -175,6 +175,7 @@ class Init
175
  $dashboard_redirect_url = ppress_var($this->db_options(), 'dashboard_redirect_url', home_url(), true);
176
 
177
  if (is_admin()) {
 
178
  wp_safe_redirect(esc_url_raw($dashboard_redirect_url));
179
  exit;
180
  }
175
  $dashboard_redirect_url = ppress_var($this->db_options(), 'dashboard_redirect_url', home_url(), true);
176
 
177
  if (is_admin()) {
178
+ nocache_headers();
179
  wp_safe_redirect(esc_url_raw($dashboard_redirect_url));
180
  exit;
181
  }
src/Classes/Autologin.php CHANGED
@@ -69,6 +69,8 @@ class Autologin
69
  return [$login_redirection];
70
  }
71
 
 
 
72
  wp_safe_redirect($login_redirection);
73
  exit;
74
  }
69
  return [$login_redirection];
70
  }
71
 
72
+ nocache_headers();
73
+
74
  wp_safe_redirect($login_redirection);
75
  exit;
76
  }
src/Classes/GlobalSiteAccess.php CHANGED
@@ -75,6 +75,7 @@ class GlobalSiteAccess
75
  if ( ! empty($excluded_pages) && is_page($excluded_pages)) return;
76
 
77
  if ( ! is_user_logged_in()) {
 
78
  wp_safe_redirect($redirect_url);
79
  exit;
80
  }
75
  if ( ! empty($excluded_pages) && is_page($excluded_pages)) return;
76
 
77
  if ( ! is_user_logged_in()) {
78
+ nocache_headers();
79
  wp_safe_redirect($redirect_url);
80
  exit;
81
  }
src/Classes/LoginAuth.php CHANGED
@@ -94,6 +94,8 @@ class LoginAuth
94
  // if ajax, return the url to redirect to
95
  if (self::is_ajax()) return $login_redirection;
96
 
 
 
97
  wp_safe_redirect($login_redirection);
98
  exit;
99
  }
@@ -157,6 +159,8 @@ class LoginAuth
157
  wp_send_json(['success' => true, 'redirect' => $login_redirection]);
158
  }
159
 
 
 
160
  wp_safe_redirect($login_redirection);
161
  exit;
162
  }
94
  // if ajax, return the url to redirect to
95
  if (self::is_ajax()) return $login_redirection;
96
 
97
+ nocache_headers();
98
+
99
  wp_safe_redirect($login_redirection);
100
  exit;
101
  }
159
  wp_send_json(['success' => true, 'redirect' => $login_redirection]);
160
  }
161
 
162
+ nocache_headers();
163
+
164
  wp_safe_redirect($login_redirection);
165
  exit;
166
  }
src/Classes/PasswordReset.php CHANGED
@@ -300,6 +300,7 @@ class PasswordReset
300
  return [self::do_password_reset_status_messages('changed')];
301
  }
302
 
 
303
  wp_safe_redirect(ppress_password_reset_redirect());
304
  exit;
305
  }
300
  return [self::do_password_reset_status_messages('changed')];
301
  }
302
 
303
+ nocache_headers();
304
  wp_safe_redirect(ppress_password_reset_redirect());
305
  exit;
306
  }
src/Classes/RegistrationAuth.php CHANGED
@@ -77,6 +77,8 @@ class RegistrationAuth
77
  return [$no_login_redirect];
78
  }
79
 
 
 
80
  wp_safe_redirect($no_login_redirect);
81
  exit;
82
  }
77
  return [$no_login_redirect];
78
  }
79
 
80
+ nocache_headers();
81
+
82
  wp_safe_redirect($no_login_redirect);
83
  exit;
84
  }
src/Classes/UserAvatar.php CHANGED
@@ -29,7 +29,17 @@ class UserAvatar
29
  $args['url'] = $wpua_functions->wpua_get_default_avatar_url($size);
30
  } else {
31
 
32
- $has_valid_url = $wpua_functions->wpua_has_gravatar($id_or_email);
 
 
 
 
 
 
 
 
 
 
33
 
34
  if ( ! $has_valid_url) {
35
  $wpua_size = ! empty($size) ? $size : 96;
29
  $args['url'] = $wpua_functions->wpua_get_default_avatar_url($size);
30
  } else {
31
 
32
+ $has_valid_url = false;
33
+
34
+ if (method_exists($wpua_functions, 'wpua_has_gravatar')) {
35
+ $has_valid_url = $wpua_functions->wpua_has_gravatar($id_or_email);
36
+ } elseif (class_exists('\WP_User_Avatar_Functions')) {
37
+
38
+ $obj = new \WP_User_Avatar_Functions();
39
+ if (method_exists($obj, 'wpua_has_gravatar')) {
40
+ $has_valid_url = $obj->wpua_has_gravatar($id_or_email);
41
+ }
42
+ }
43
 
44
  if ( ! $has_valid_url) {
45
  $wpua_size = ! empty($size) ? $size : 96;
src/ContentProtection/Frontend/Redirect.php CHANGED
@@ -65,6 +65,7 @@ class Redirect
65
  if (Checker::content_match($meta['content'], true)) {
66
 
67
  if (Checker::is_blocked($who_can_access, $access_roles, $access_wp_users)) {
 
68
  wp_safe_redirect(esc_url_raw($redirect_url));
69
  exit;
70
  }
65
  if (Checker::content_match($meta['content'], true)) {
66
 
67
  if (Checker::is_blocked($who_can_access, $access_roles, $access_wp_users)) {
68
+ nocache_headers();
69
  wp_safe_redirect(esc_url_raw($redirect_url));
70
  exit;
71
  }
src/ShortcodeParser/FormProcessor.php CHANGED
@@ -100,6 +100,7 @@ class FormProcessor
100
  // check if the page being viewed contains the "edit profile" shortcode. if true, redirect to login page
101
  if (ppress_shortcode_exist_in_post('profilepress-edit-profile')) {
102
  if ( ! is_user_logged_in()) {
 
103
  wp_safe_redirect(ppress_login_url());
104
  exit;
105
  }
100
  // check if the page being viewed contains the "edit profile" shortcode. if true, redirect to login page
101
  if (ppress_shortcode_exist_in_post('profilepress-edit-profile')) {
102
  if ( ! is_user_logged_in()) {
103
+ nocache_headers();
104
  wp_safe_redirect(ppress_login_url());
105
  exit;
106
  }
src/ShortcodeParser/FrontendProfileTag.php CHANGED
@@ -44,6 +44,7 @@ class FrontendProfileTag
44
  } else {
45
 
46
  if (strpos($_SERVER['REQUEST_URI'], '/' . ppress_get_profile_slug() . '/') !== false) {
 
47
  wp_safe_redirect(home_url());
48
  exit;
49
  }
@@ -60,6 +61,7 @@ class FrontendProfileTag
60
  $user = get_user_by('login', $username_or_nicename);
61
 
62
  if ( ! $user) {
 
63
  wp_safe_redirect(home_url());
64
  exit;
65
  }
44
  } else {
45
 
46
  if (strpos($_SERVER['REQUEST_URI'], '/' . ppress_get_profile_slug() . '/') !== false) {
47
+ nocache_headers();
48
  wp_safe_redirect(home_url());
49
  exit;
50
  }
61
  $user = get_user_by('login', $username_or_nicename);
62
 
63
  if ( ! $user) {
64
+ nocache_headers();
65
  wp_safe_redirect(home_url());
66
  exit;
67
  }
src/ShortcodeParser/MyAccount/MyAccountTag.php CHANGED
@@ -34,6 +34,7 @@ class MyAccountTag extends FormProcessor
34
  // check if the page being viewed contains the "profilepress-my-account" shortcode. if true, redirect to login page
35
  if (isset($post->post_content) && has_shortcode($post->post_content, 'profilepress-my-account')) {
36
  if ( ! is_user_logged_in()) {
 
37
  wp_safe_redirect(ppress_login_url());
38
  exit;
39
  }
34
  // check if the page being viewed contains the "profilepress-my-account" shortcode. if true, redirect to login page
35
  if (isset($post->post_content) && has_shortcode($post->post_content, 'profilepress-my-account')) {
36
  if ( ! is_user_logged_in()) {
37
+ nocache_headers();
38
  wp_safe_redirect(ppress_login_url());
39
  exit;
40
  }
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitfb483d02c1b21601df3caf62d9e38e62::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit2761f6c0c8edd2b310fb0791f4df82e8::getLoader();
vendor/barryvdh/composer-cleanup-plugin/.gitignore DELETED
@@ -1,5 +0,0 @@
1
- /vendor
2
- /.idea
3
- composer.phar
4
- composer.lock
5
- .DS_Store
 
 
 
 
 
vendor/barryvdh/composer-cleanup-plugin/src/CleanupRules.php CHANGED
@@ -7,7 +7,7 @@ class CleanupRules
7
  public static function getRules()
8
  {
9
  // Default patterns for common files
10
- $docs = 'README* CHANGELOG* CHANGES* FAQ* CONTRIBUTING* CODE_OF_CONDUCT* HISTORY* UPGRADING* UPGRADE* package* demo example examples doc docs readme* changelog* composer*';
11
  $tests = '.travis.yml .php_cs gulpfile.js package.json styleci.yml puli.json .scrutinizer.yml phpunit.xml* phpcs.php phpunit.php test tests Tests travis patchwork.json';
12
 
13
  return array(
@@ -78,6 +78,8 @@ class CleanupRules
78
  'symfony/class-loader' => array($docs, $tests),
79
  'symfony/console' => array($docs, $tests),
80
  'symfony/css-selector' => array($docs, $tests),
 
 
81
  'symfony/debug' => array($docs, $tests),
82
  'symfony/dom-crawler' => array($docs, $tests),
83
  'symfony/event-dispatcher' => array($docs, $tests),
@@ -105,6 +107,15 @@ class CleanupRules
105
  'jacobbennett/sendyphp' => array($docs, $tests),
106
  'league/csv' => array($docs, $tests),
107
  'mailerlite/mailerlite-api-v2-php-sdk' => array($docs, $tests),
 
 
 
 
 
 
 
 
 
108
  'mailoptin/advanceanalytics' => array($docs, $tests),
109
  'mailoptin/core' => array($docs, $tests),
110
  'pelago/emogrifier' => array($docs, $tests),
@@ -115,6 +126,12 @@ class CleanupRules
115
  'php-http/message-factory' => array($docs, $tests),
116
  'php-http/promise' => array($docs, $tests),
117
  'thinkshout/mailchimp-api-php' => array($docs, $tests),
 
 
 
 
 
 
118
  );
119
  }
120
  }
7
  public static function getRules()
8
  {
9
  // Default patterns for common files
10
+ $docs = 'README* CHANGELOG* CHANGES* FAQ* CONTRIBUTING* CODE_OF_CONDUCT* HISTORY* UPGRADING* UPGRADE* package* demo example examples doc docs readme* changelog* composer* .gitignore';
11
  $tests = '.travis.yml .php_cs gulpfile.js package.json styleci.yml puli.json .scrutinizer.yml phpunit.xml* phpcs.php phpunit.php test tests Tests travis patchwork.json';
12
 
13
  return array(
78
  'symfony/class-loader' => array($docs, $tests),
79
  'symfony/console' => array($docs, $tests),
80
  'symfony/css-selector' => array($docs, $tests),
81
+ 'symfony/polyfill-mbstring' => array($docs, $tests),
82
+ 'symfony/polyfill-php80' => array($docs, $tests),
83
  'symfony/debug' => array($docs, $tests),
84
  'symfony/dom-crawler' => array($docs, $tests),
85
  'symfony/event-dispatcher' => array($docs, $tests),
107
  'jacobbennett/sendyphp' => array($docs, $tests),
108
  'league/csv' => array($docs, $tests),
109
  'mailerlite/mailerlite-api-v2-php-sdk' => array($docs, $tests),
110
+ 'deliciousbrains/wp-background-processing' => array($docs, $tests),
111
+ 'drewm/drip' => array($docs, $tests),
112
+ 'kylekatarnls/update-helper' => array($docs, $tests),
113
+ 'nesbot/carbon' => array($docs, $tests),
114
+ 'kylekatarnls/update-helper' => array($docs, $tests),
115
+ 'mailoptin/mailchimp-api-php' => array($docs, $tests),
116
+ 'mailoptin/libsodium' => array($docs, $tests),
117
+ 'mailoptin/connections' => array($docs, $tests),
118
+ 'mailoptin/authifly' => array($docs, $tests),
119
  'mailoptin/advanceanalytics' => array($docs, $tests),
120
  'mailoptin/core' => array($docs, $tests),
121
  'pelago/emogrifier' => array($docs, $tests),
126
  'php-http/message-factory' => array($docs, $tests),
127
  'php-http/promise' => array($docs, $tests),
128
  'thinkshout/mailchimp-api-php' => array($docs, $tests),
129
+ 'barryvdh/composer-cleanup-plugin' => array($docs, $tests),
130
+ 'composer/installers' => array($docs, $tests),
131
+ 'profilepress/libsodium' => array($docs, $tests),
132
+ 'hybridauth/hybridauth' => array($docs, $tests),
133
+ 'robthree/twofactorauth' => array($docs, $tests),
134
+ 'bacon/bacon-qr-code' => array($docs, $tests),
135
  );
136
  }
137
  }
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitfb483d02c1b21601df3caf62d9e38e62
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInitfb483d02c1b21601df3caf62d9e38e62
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInitfb483d02c1b21601df3caf62d9e38e62', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInitfb483d02c1b21601df3caf62d9e38e62', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInitfb483d02c1b21601df3caf62d9e38e62::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInitfb483d02c1b21601df3caf62d9e38e62
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInitfb483d02c1b21601df3caf62d9e38e62::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequirefb483d02c1b21601df3caf62d9e38e62($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequirefb483d02c1b21601df3caf62d9e38e62($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit2761f6c0c8edd2b310fb0791f4df82e8
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit2761f6c0c8edd2b310fb0791f4df82e8', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit2761f6c0c8edd2b310fb0791f4df82e8', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit2761f6c0c8edd2b310fb0791f4df82e8::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInit2761f6c0c8edd2b310fb0791f4df82e8::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire2761f6c0c8edd2b310fb0791f4df82e8($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequire2761f6c0c8edd2b310fb0791f4df82e8($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitfb483d02c1b21601df3caf62d9e38e62
8
  {
9
  public static $files = array (
10
  'fda73876e8be17735f680f484cec1679' => __DIR__ . '/../..' . '/src/Functions/custom-settings-api.php',
@@ -298,9 +298,9 @@ class ComposerStaticInitfb483d02c1b21601df3caf62d9e38e62
298
  public static function getInitializer(ClassLoader $loader)
299
  {
300
  return \Closure::bind(function () use ($loader) {
301
- $loader->prefixLengthsPsr4 = ComposerStaticInitfb483d02c1b21601df3caf62d9e38e62::$prefixLengthsPsr4;
302
- $loader->prefixDirsPsr4 = ComposerStaticInitfb483d02c1b21601df3caf62d9e38e62::$prefixDirsPsr4;
303
- $loader->classMap = ComposerStaticInitfb483d02c1b21601df3caf62d9e38e62::$classMap;
304
 
305
  }, null, ClassLoader::class);
306
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit2761f6c0c8edd2b310fb0791f4df82e8
8
  {
9
  public static $files = array (
10
  'fda73876e8be17735f680f484cec1679' => __DIR__ . '/../..' . '/src/Functions/custom-settings-api.php',
298
  public static function getInitializer(ClassLoader $loader)
299
  {
300
  return \Closure::bind(function () use ($loader) {
301
+ $loader->prefixLengthsPsr4 = ComposerStaticInit2761f6c0c8edd2b310fb0791f4df82e8::$prefixLengthsPsr4;
302
+ $loader->prefixDirsPsr4 = ComposerStaticInit2761f6c0c8edd2b310fb0791f4df82e8::$prefixDirsPsr4;
303
+ $loader->classMap = ComposerStaticInit2761f6c0c8edd2b310fb0791f4df82e8::$classMap;
304
 
305
  }, null, ClassLoader::class);
306
  }
vendor/composer/installed.json CHANGED
@@ -7,18 +7,18 @@
7
  "source": {
8
  "type": "git",
9
  "url": "https://github.com/mailoptin/composer-cleanup-plugin.git",
10
- "reference": "540fddf14a4fd96626278963b10e14169a989f2e"
11
  },
12
  "dist": {
13
  "type": "zip",
14
- "url": "https://api.github.com/repos/mailoptin/composer-cleanup-plugin/zipball/540fddf14a4fd96626278963b10e14169a989f2e",
15
- "reference": "540fddf14a4fd96626278963b10e14169a989f2e",
16
  "shasum": ""
17
  },
18
  "require": {
19
  "composer-plugin-api": "^2.0"
20
  },
21
- "time": "2022-03-09T06:20:49+00:00",
22
  "default-branch": true,
23
  "type": "composer-plugin",
24
  "extra": {
7
  "source": {
8
  "type": "git",
9
  "url": "https://github.com/mailoptin/composer-cleanup-plugin.git",
10
+ "reference": "74d878666436c99f5b671b90312e85479afeedb0"
11
  },
12
  "dist": {
13
  "type": "zip",
14
+ "url": "https://api.github.com/repos/mailoptin/composer-cleanup-plugin/zipball/74d878666436c99f5b671b90312e85479afeedb0",
15
+ "reference": "74d878666436c99f5b671b90312e85479afeedb0",
16
  "shasum": ""
17
  },
18
  "require": {
19
  "composer-plugin-api": "^2.0"
20
  },
21
+ "time": "2022-03-15T13:35:33+00:00",
22
  "default-branch": true,
23
  "type": "composer-plugin",
24
  "extra": {
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '6283077c705e2efa9a21ad4af3869108aeb5ae42',
9
  'name' => '__root__',
10
  'dev' => false,
11
  ),
@@ -16,7 +16,7 @@
16
  'type' => 'library',
17
  'install_path' => __DIR__ . '/../../',
18
  'aliases' => array(),
19
- 'reference' => '6283077c705e2efa9a21ad4af3869108aeb5ae42',
20
  'dev_requirement' => false,
21
  ),
22
  'barryvdh/composer-cleanup-plugin' => array(
@@ -27,7 +27,7 @@
27
  'aliases' => array(
28
  0 => '0.1.x-dev',
29
  ),
30
- 'reference' => '540fddf14a4fd96626278963b10e14169a989f2e',
31
  'dev_requirement' => false,
32
  ),
33
  'collizo4sky/persist-admin-notices-dismissal' => array(
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => 'c4ee7edb8a343efcce84b582fa6ea027d4100cfe',
9
  'name' => '__root__',
10
  'dev' => false,
11
  ),
16
  'type' => 'library',
17
  'install_path' => __DIR__ . '/../../',
18
  'aliases' => array(),
19
+ 'reference' => 'c4ee7edb8a343efcce84b582fa6ea027d4100cfe',
20
  'dev_requirement' => false,
21
  ),
22
  'barryvdh/composer-cleanup-plugin' => array(
27
  'aliases' => array(
28
  0 => '0.1.x-dev',
29
  ),
30
+ 'reference' => '74d878666436c99f5b671b90312e85479afeedb0',
31
  'dev_requirement' => false,
32
  ),
33
  'collizo4sky/persist-admin-notices-dismissal' => array(
vendor/symfony/css-selector/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- vendor/
2
- composer.lock
3
- phpunit.xml
 
 
 
wp-user-avatar.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: ProfilePress
4
  * Plugin URI: https://profilepress.net
5
  * Description: The modern WordPress membership and user profile plugin.
6
- * Version: 3.2.9
7
  * Author: ProfilePress Team
8
  * Author URI: https://profilepress.net
9
  * Text Domain: wp-user-avatar
@@ -14,7 +14,7 @@
14
  defined('ABSPATH') or die("No script kiddies please!");
15
 
16
  define('PROFILEPRESS_SYSTEM_FILE_PATH', __FILE__);
17
- define('PPRESS_VERSION_NUMBER', '3.2.9');
18
 
19
  require __DIR__ . '/vendor/autoload.php';
20
 
3
  * Plugin Name: ProfilePress
4
  * Plugin URI: https://profilepress.net
5
  * Description: The modern WordPress membership and user profile plugin.
6
+ * Version: 3.2.10
7
  * Author: ProfilePress Team
8
  * Author URI: https://profilepress.net
9
  * Text Domain: wp-user-avatar
14
  defined('ABSPATH') or die("No script kiddies please!");
15
 
16
  define('PROFILEPRESS_SYSTEM_FILE_PATH', __FILE__);
17
+ define('PPRESS_VERSION_NUMBER', '3.2.10');
18
 
19
  require __DIR__ . '/vendor/autoload.php';
20