WP User Avatar - Version 3.1

Version Description

  • Fixed bug where disabling admin new user notifications wasnt working.
  • Fixed fatar error: Cannot use ProfilePress\Core\Base as Base because the name is already in use.
  • Fixed issue where myaccount js was shown on all pages.
Download this release

Release Info

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

Code changes from version 3.0 to 3.1

changelog.txt CHANGED
@@ -1,4 +1,9 @@
1
- = 3.0 (The rebrand to ProfilePress) =
 
 
 
 
 
2
  * Added custom login forms.
3
  * Added frontend user registration form.
4
  * Added User Profiles.
1
+ = 3.1 =
2
+ * Fixed bug where disabling admin new user notifications wasn’t working.
3
+ * Fixed fatar error: Cannot use ProfilePress\Core\Base as Base because the name is already in use.
4
+ * Fixed issue where myaccount js was shown on all pages.
5
+
6
+ = 3.0 (The rebrand to ProfilePress) =
7
  * Added custom login forms.
8
  * Added frontend user registration form.
9
  * Added User Profiles.
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.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
- "POT-Creation-Date: 2021-05-16 11:47:38+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -456,9 +456,9 @@ msgstr ""
456
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:223
457
  #: src/Admin/SettingsPages/GeneralSettings.php:234
458
  #: src/Admin/SettingsPages/ShortcodeBuilder/ShortcodeInserterTrait.php:224
459
- #: src/Functions/GlobalFunctions.php:1222
460
- #: src/Functions/GlobalFunctions.php:1248
461
- #: src/Functions/GlobalFunctions.php:1270
462
  msgid "Select..."
463
  msgstr ""
464
 
@@ -522,7 +522,7 @@ msgid "Select Icon"
522
  msgstr ""
523
 
524
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1198
525
- #: src/Functions/GlobalFunctions.php:1273
526
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:202
527
  msgid "Standard Fields"
528
  msgstr ""
@@ -532,7 +532,7 @@ msgid "Extra Fields"
532
  msgstr ""
533
 
534
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1201
535
- #: src/Classes/ExtensionManager.php:53 src/Functions/GlobalFunctions.php:1276
536
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:216
537
  msgid "Custom Fields"
538
  msgstr ""
@@ -736,7 +736,7 @@ msgstr ""
736
 
737
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Bio.php:22
738
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Bio.php:22
739
- #: src/Functions/GlobalFunctions.php:1260
740
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:211
741
  #: src/Themes/DragDrop/AbstractTheme.php:189
742
  msgid "Biography"
@@ -990,7 +990,7 @@ msgstr ""
990
 
991
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/DisplayName.php:22
992
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/DisplayName.php:22
993
- #: src/Functions/GlobalFunctions.php:1258
994
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:318
995
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:208
996
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:460
@@ -1015,7 +1015,7 @@ msgstr ""
1015
 
1016
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Email.php:22
1017
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Email.php:22
1018
- #: src/Functions/GlobalFunctions.php:1259
1019
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:210
1020
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:206
1021
  #: src/Themes/DragDrop/AbstractTheme.php:162
@@ -1025,7 +1025,7 @@ msgstr ""
1025
 
1026
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/FirstName.php:22
1027
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/FirstName.php:22
1028
- #: src/Functions/GlobalFunctions.php:1255
1029
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:350
1030
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:209
1031
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:461
@@ -1045,7 +1045,7 @@ msgstr ""
1045
 
1046
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/LastName.php:22
1047
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/LastName.php:22
1048
- #: src/Functions/GlobalFunctions.php:1256
1049
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:383
1050
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:210
1051
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:462
@@ -1078,7 +1078,7 @@ msgstr ""
1078
 
1079
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Nickname.php:22
1080
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Nickname.php:22
1081
- #: src/Functions/GlobalFunctions.php:1257
1082
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:286
1083
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:300
1084
  #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:138
@@ -1234,7 +1234,7 @@ msgstr ""
1234
 
1235
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Username.php:22
1236
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Username.php:22
1237
- #: src/Functions/GlobalFunctions.php:1254
1238
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:135
1239
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:463
1240
  #: src/Themes/DragDrop/AbstractTheme.php:159
@@ -1485,7 +1485,7 @@ msgid "New User Admin Notification"
1485
  msgstr ""
1486
 
1487
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:80
1488
- #: src/Functions/GlobalFunctions.php:720 src/RegisterActivation/Base.php:89
1489
  msgid "[%s] New User Registration"
1490
  msgstr ""
1491
 
@@ -3599,42 +3599,42 @@ msgid "Redirect URL"
3599
  msgstr ""
3600
 
3601
  #. translators: %s: User login.
3602
- #: src/Functions/GlobalFunctions.php:790
3603
  msgid "Username: %s"
3604
  msgstr ""
3605
 
3606
- #: src/Functions/GlobalFunctions.php:791
3607
  msgid "To set your password, visit the following address:"
3608
  msgstr ""
3609
 
3610
  #. translators: Login details notification email subject. %s: Site title.
3611
- #: src/Functions/GlobalFunctions.php:799
3612
  msgid "[%s] Login Details"
3613
  msgstr ""
3614
 
3615
- #: src/Functions/GlobalFunctions.php:1085
3616
  msgid ""
3617
  "It must be unique for each field, not a reserve text, in lowercase letters "
3618
  "only with an underscore ( _ ) separating words e.g job_title"
3619
  msgstr ""
3620
 
3621
- #: src/Functions/GlobalFunctions.php:1206
3622
  msgid "%s (WooCommerce Billing Address)"
3623
  msgstr ""
3624
 
3625
- #: src/Functions/GlobalFunctions.php:1210
3626
  msgid "%s (WooCommerce Shipping Address)"
3627
  msgstr ""
3628
 
3629
- #: src/Functions/GlobalFunctions.php:1252
3630
  msgid "First and Last Names"
3631
  msgstr ""
3632
 
3633
- #: src/Functions/GlobalFunctions.php:1253
3634
  msgid "Last and First Names"
3635
  msgstr ""
3636
 
3637
- #: src/Functions/GlobalFunctions.php:1261
3638
  msgid "Registration Date"
3639
  msgstr ""
3640
 
@@ -4908,24 +4908,24 @@ msgid ""
4908
  "ProfilePress."
4909
  msgstr ""
4910
 
4911
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:38
4912
  msgid "Dashboard"
4913
  msgstr ""
4914
 
4915
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:43
4916
  msgid "Account Details"
4917
  msgstr ""
4918
 
4919
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:50
4920
  #: src/ShortcodeParser/MyAccount/change-password.tmpl.php:25
4921
  msgid "Change Password"
4922
  msgstr ""
4923
 
4924
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:57
4925
  msgid "Logout"
4926
  msgstr ""
4927
 
4928
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:66
4929
  #: src/ShortcodeParser/MyAccount/email-notifications.tmpl.php:14
4930
  msgid "Email Notifications"
4931
  msgstr ""
@@ -5796,9 +5796,9 @@ msgstr ""
5796
  msgid "ProfilePress"
5797
  msgstr ""
5798
 
5799
- #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.0) #-#-#-#-#
5800
  #. Plugin URI of the plugin/theme
5801
- #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.0) #-#-#-#-#
5802
  #. Author URI of the plugin/theme
5803
  msgid "https://profilepress.net"
5804
  msgstr ""
2
  # This file is distributed under the same license as the ProfilePress package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: ProfilePress 3.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
+ "POT-Creation-Date: 2021-05-18 15:04:57+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
456
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:223
457
  #: src/Admin/SettingsPages/GeneralSettings.php:234
458
  #: src/Admin/SettingsPages/ShortcodeBuilder/ShortcodeInserterTrait.php:224
459
+ #: src/Functions/GlobalFunctions.php:1224
460
+ #: src/Functions/GlobalFunctions.php:1250
461
+ #: src/Functions/GlobalFunctions.php:1272
462
  msgid "Select..."
463
  msgstr ""
464
 
522
  msgstr ""
523
 
524
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1198
525
+ #: src/Functions/GlobalFunctions.php:1275
526
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:202
527
  msgid "Standard Fields"
528
  msgstr ""
532
  msgstr ""
533
 
534
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1201
535
+ #: src/Classes/ExtensionManager.php:53 src/Functions/GlobalFunctions.php:1278
536
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:216
537
  msgid "Custom Fields"
538
  msgstr ""
736
 
737
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Bio.php:22
738
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Bio.php:22
739
+ #: src/Functions/GlobalFunctions.php:1262
740
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:211
741
  #: src/Themes/DragDrop/AbstractTheme.php:189
742
  msgid "Biography"
990
 
991
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/DisplayName.php:22
992
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/DisplayName.php:22
993
+ #: src/Functions/GlobalFunctions.php:1260
994
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:318
995
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:208
996
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:460
1015
 
1016
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Email.php:22
1017
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Email.php:22
1018
+ #: src/Functions/GlobalFunctions.php:1261
1019
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:210
1020
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:206
1021
  #: src/Themes/DragDrop/AbstractTheme.php:162
1025
 
1026
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/FirstName.php:22
1027
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/FirstName.php:22
1028
+ #: src/Functions/GlobalFunctions.php:1257
1029
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:350
1030
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:209
1031
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:461
1045
 
1046
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/LastName.php:22
1047
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/LastName.php:22
1048
+ #: src/Functions/GlobalFunctions.php:1258
1049
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:383
1050
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:210
1051
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:462
1078
 
1079
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Nickname.php:22
1080
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Nickname.php:22
1081
+ #: src/Functions/GlobalFunctions.php:1259
1082
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:286
1083
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:300
1084
  #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:138
1234
 
1235
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Username.php:22
1236
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Username.php:22
1237
+ #: src/Functions/GlobalFunctions.php:1256
1238
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:135
1239
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:463
1240
  #: src/Themes/DragDrop/AbstractTheme.php:159
1485
  msgstr ""
1486
 
1487
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:80
1488
+ #: src/Functions/GlobalFunctions.php:722 src/RegisterActivation/Base.php:89
1489
  msgid "[%s] New User Registration"
1490
  msgstr ""
1491
 
3599
  msgstr ""
3600
 
3601
  #. translators: %s: User login.
3602
+ #: src/Functions/GlobalFunctions.php:792
3603
  msgid "Username: %s"
3604
  msgstr ""
3605
 
3606
+ #: src/Functions/GlobalFunctions.php:793
3607
  msgid "To set your password, visit the following address:"
3608
  msgstr ""
3609
 
3610
  #. translators: Login details notification email subject. %s: Site title.
3611
+ #: src/Functions/GlobalFunctions.php:801
3612
  msgid "[%s] Login Details"
3613
  msgstr ""
3614
 
3615
+ #: src/Functions/GlobalFunctions.php:1087
3616
  msgid ""
3617
  "It must be unique for each field, not a reserve text, in lowercase letters "
3618
  "only with an underscore ( _ ) separating words e.g job_title"
3619
  msgstr ""
3620
 
3621
+ #: src/Functions/GlobalFunctions.php:1208
3622
  msgid "%s (WooCommerce Billing Address)"
3623
  msgstr ""
3624
 
3625
+ #: src/Functions/GlobalFunctions.php:1212
3626
  msgid "%s (WooCommerce Shipping Address)"
3627
  msgstr ""
3628
 
3629
+ #: src/Functions/GlobalFunctions.php:1254
3630
  msgid "First and Last Names"
3631
  msgstr ""
3632
 
3633
+ #: src/Functions/GlobalFunctions.php:1255
3634
  msgid "Last and First Names"
3635
  msgstr ""
3636
 
3637
+ #: src/Functions/GlobalFunctions.php:1263
3638
  msgid "Registration Date"
3639
  msgstr ""
3640
 
4908
  "ProfilePress."
4909
  msgstr ""
4910
 
4911
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:36
4912
  msgid "Dashboard"
4913
  msgstr ""
4914
 
4915
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:41
4916
  msgid "Account Details"
4917
  msgstr ""
4918
 
4919
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:48
4920
  #: src/ShortcodeParser/MyAccount/change-password.tmpl.php:25
4921
  msgid "Change Password"
4922
  msgstr ""
4923
 
4924
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:55
4925
  msgid "Logout"
4926
  msgstr ""
4927
 
4928
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:64
4929
  #: src/ShortcodeParser/MyAccount/email-notifications.tmpl.php:14
4930
  msgid "Email Notifications"
4931
  msgstr ""
5796
  msgid "ProfilePress"
5797
  msgstr ""
5798
 
5799
+ #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.1) #-#-#-#-#
5800
  #. Plugin URI of the plugin/theme
5801
+ #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.1) #-#-#-#-#
5802
  #. Author URI of the plugin/theme
5803
  msgid "https://profilepress.net"
5804
  msgstr ""
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
- === User Profiles, User Registration, Login & Membership – ProfilePress (Formerly WP User Avatar) ===
2
  Contributors: properfraction, collizo4sky
3
  Donate link: https://profilepress.net/pricing/
4
  Tags: user registration, user profile, registration form, membership, login form, login, registration, password reset, members, users, profile, front-end profile, edit profile, avatar, profile picture
5
  Requires at least: 4.7
6
  Requires PHP: 5.6
7
  Tested up to: 5.7
8
- Stable tag: 3.0
9
  License: GPLv2 or later
10
 
11
  Modern membership plugin for user registration, login form, user profile, member directories & content restriction.
@@ -119,6 +119,11 @@ No. You can create and manage your forms, user profiles and member directories w
119
 
120
  == Changelog ==
121
 
 
 
 
 
 
122
  = 3.0 (The rebrand to ProfilePress) =
123
  * Added custom login forms.
124
  * Added frontend user registration form.
1
+ === User Registration, User Profiles, Login & Membership – ProfilePress (Formerly WP User Avatar) ===
2
  Contributors: properfraction, collizo4sky
3
  Donate link: https://profilepress.net/pricing/
4
  Tags: user registration, user profile, registration form, membership, login form, login, registration, password reset, members, users, profile, front-end profile, edit profile, avatar, profile picture
5
  Requires at least: 4.7
6
  Requires PHP: 5.6
7
  Tested up to: 5.7
8
+ Stable tag: 3.1
9
  License: GPLv2 or later
10
 
11
  Modern membership plugin for user registration, login form, user profile, member directories & content restriction.
119
 
120
  == Changelog ==
121
 
122
+ = 3.1 =
123
+ * Fixed bug where disabling admin new user notifications wasn’t working.
124
+ * Fixed fatar error: Cannot use ProfilePress\Core\Base as Base because the name is already in use.
125
+ * Fixed issue where myaccount js was shown on all pages.
126
+
127
  = 3.0 (The rebrand to ProfilePress) =
128
  * Added custom login forms.
129
  * Added frontend user registration form.
src/Functions/GlobalFunctions.php CHANGED
@@ -715,6 +715,8 @@ function ppress_wp_new_user_notification($user_id, $deprecated = null, $notify =
715
 
716
  if ('user' !== $notify) {
717
 
 
 
718
  $message = ppress_get_setting('new_user_admin_email_email_content', ppress_new_user_admin_notification_message_default(), true);
719
 
720
  $title = ppress_get_setting('new_user_admin_email_email_subject', sprintf(__('[%s] New User Registration'), $blogname), true);
715
 
716
  if ('user' !== $notify) {
717
 
718
+ if (ppress_get_setting('new_user_admin_email_email_enabled', 'on') !== 'on') return;
719
+
720
  $message = ppress_get_setting('new_user_admin_email_email_content', ppress_new_user_admin_notification_message_default(), true);
721
 
722
  $title = ppress_get_setting('new_user_admin_email_email_subject', sprintf(__('[%s] New User Registration'), $blogname), true);
src/RegisterActivation/CreateDBTables.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  namespace ProfilePress\Core\RegisterActivation;
4
 
5
- use ProfilePress\Core\Base;
6
 
7
  class CreateDBTables
8
  {
@@ -15,9 +15,9 @@ class CreateDBTables
15
  $collate = $wpdb->get_charset_collate();
16
  }
17
 
18
- $forms_table = Base::form_db_table();
19
- $forms_meta_table = Base::form_meta_db_table();
20
- $meta_data_table = Base::meta_data_db_table();
21
 
22
  $sqls[] = "CREATE TABLE IF NOT EXISTS $forms_table (
23
  id bigint(20) NOT NULL AUTO_INCREMENT,
2
 
3
  namespace ProfilePress\Core\RegisterActivation;
4
 
5
+ use ProfilePress\Core\Base as CoreBase;
6
 
7
  class CreateDBTables
8
  {
15
  $collate = $wpdb->get_charset_collate();
16
  }
17
 
18
+ $forms_table = CoreBase::form_db_table();
19
+ $forms_meta_table = CoreBase::form_meta_db_table();
20
+ $meta_data_table = CoreBase::meta_data_db_table();
21
 
22
  $sqls[] = "CREATE TABLE IF NOT EXISTS $forms_table (
23
  id bigint(20) NOT NULL AUTO_INCREMENT,
src/ShortcodeParser/MyAccount/MyAccountTag.php CHANGED
@@ -22,8 +22,6 @@ class MyAccountTag extends FormProcessor
22
 
23
  add_action('wp', [$this, 'process_myaccount_change_password']);
24
  add_action('wp', [$this, 'process_edit_profile_form'], 999999999);
25
-
26
- add_action('wp_footer', [$this, 'js_script']);
27
  }
28
  }
29
 
@@ -406,6 +404,8 @@ class MyAccountTag extends FormProcessor
406
  */
407
  public function parse_shortcode($atts)
408
  {
 
 
409
  global $wp;
410
 
411
  $user_id = get_current_user_id();
22
 
23
  add_action('wp', [$this, 'process_myaccount_change_password']);
24
  add_action('wp', [$this, 'process_edit_profile_form'], 999999999);
 
 
25
  }
26
  }
27
 
404
  */
405
  public function parse_shortcode($atts)
406
  {
407
+ add_action('wp_footer', [$this, 'js_script']);
408
+
409
  global $wp;
410
 
411
  $user_id = get_current_user_id();
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit2754075c79d70a3ee3e7b5b216b25136::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit59f78ec32559233aa93d4f6ecd95adf9::getLoader();
vendor/composer/InstalledVersions.php CHANGED
@@ -29,7 +29,7 @@ private static $installed = array (
29
  'aliases' =>
30
  array (
31
  ),
32
- 'reference' => 'b66d7a3449f8ca0bbefb303e5ac61e9eb8a2abca',
33
  'name' => '__root__',
34
  ),
35
  'versions' =>
@@ -41,7 +41,7 @@ private static $installed = array (
41
  'aliases' =>
42
  array (
43
  ),
44
- 'reference' => 'b66d7a3449f8ca0bbefb303e5ac61e9eb8a2abca',
45
  ),
46
  'collizo4sky/persist-admin-notices-dismissal' =>
47
  array (
29
  'aliases' =>
30
  array (
31
  ),
32
+ 'reference' => 'e1f9a271e2d8b56f4c830cff6c0d58fc1044bdf9',
33
  'name' => '__root__',
34
  ),
35
  'versions' =>
41
  'aliases' =>
42
  array (
43
  ),
44
+ 'reference' => 'e1f9a271e2d8b56f4c830cff6c0d58fc1044bdf9',
45
  ),
46
  'collizo4sky/persist-admin-notices-dismissal' =>
47
  array (
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit2754075c79d70a3ee3e7b5b216b25136
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit2754075c79d70a3ee3e7b5b216b25136
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit2754075c79d70a3ee3e7b5b216b25136', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
29
- spl_autoload_unregister(array('ComposerAutoloaderInit2754075c79d70a3ee3e7b5b216b25136', '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\ComposerStaticInit2754075c79d70a3ee3e7b5b216b25136::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit2754075c79d70a3ee3e7b5b216b25136
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInit2754075c79d70a3ee3e7b5b216b25136::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequire2754075c79d70a3ee3e7b5b216b25136($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequire2754075c79d70a3ee3e7b5b216b25136($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 ComposerAutoloaderInit59f78ec32559233aa93d4f6ecd95adf9
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit59f78ec32559233aa93d4f6ecd95adf9', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit59f78ec32559233aa93d4f6ecd95adf9', '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\ComposerStaticInit59f78ec32559233aa93d4f6ecd95adf9::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\ComposerStaticInit59f78ec32559233aa93d4f6ecd95adf9::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire59f78ec32559233aa93d4f6ecd95adf9($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequire59f78ec32559233aa93d4f6ecd95adf9($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 ComposerStaticInit2754075c79d70a3ee3e7b5b216b25136
8
  {
9
  public static $files = array (
10
  'fda73876e8be17735f680f484cec1679' => __DIR__ . '/../..' . '/src/Functions/custom-settings-api.php',
@@ -290,9 +290,9 @@ class ComposerStaticInit2754075c79d70a3ee3e7b5b216b25136
290
  public static function getInitializer(ClassLoader $loader)
291
  {
292
  return \Closure::bind(function () use ($loader) {
293
- $loader->prefixLengthsPsr4 = ComposerStaticInit2754075c79d70a3ee3e7b5b216b25136::$prefixLengthsPsr4;
294
- $loader->prefixDirsPsr4 = ComposerStaticInit2754075c79d70a3ee3e7b5b216b25136::$prefixDirsPsr4;
295
- $loader->classMap = ComposerStaticInit2754075c79d70a3ee3e7b5b216b25136::$classMap;
296
 
297
  }, null, ClassLoader::class);
298
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit59f78ec32559233aa93d4f6ecd95adf9
8
  {
9
  public static $files = array (
10
  'fda73876e8be17735f680f484cec1679' => __DIR__ . '/../..' . '/src/Functions/custom-settings-api.php',
290
  public static function getInitializer(ClassLoader $loader)
291
  {
292
  return \Closure::bind(function () use ($loader) {
293
+ $loader->prefixLengthsPsr4 = ComposerStaticInit59f78ec32559233aa93d4f6ecd95adf9::$prefixLengthsPsr4;
294
+ $loader->prefixDirsPsr4 = ComposerStaticInit59f78ec32559233aa93d4f6ecd95adf9::$prefixDirsPsr4;
295
+ $loader->classMap = ComposerStaticInit59f78ec32559233aa93d4f6ecd95adf9::$classMap;
296
 
297
  }, null, ClassLoader::class);
298
  }
vendor/composer/installed.php CHANGED
@@ -6,7 +6,7 @@
6
  'aliases' =>
7
  array (
8
  ),
9
- 'reference' => 'b66d7a3449f8ca0bbefb303e5ac61e9eb8a2abca',
10
  'name' => '__root__',
11
  ),
12
  'versions' =>
@@ -18,7 +18,7 @@
18
  'aliases' =>
19
  array (
20
  ),
21
- 'reference' => 'b66d7a3449f8ca0bbefb303e5ac61e9eb8a2abca',
22
  ),
23
  'collizo4sky/persist-admin-notices-dismissal' =>
24
  array (
6
  'aliases' =>
7
  array (
8
  ),
9
+ 'reference' => 'e1f9a271e2d8b56f4c830cff6c0d58fc1044bdf9',
10
  'name' => '__root__',
11
  ),
12
  'versions' =>
18
  'aliases' =>
19
  array (
20
  ),
21
+ 'reference' => 'e1f9a271e2d8b56f4c830cff6c0d58fc1044bdf9',
22
  ),
23
  'collizo4sky/persist-admin-notices-dismissal' =>
24
  array (
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.0
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.0');
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.1
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.1');
18
 
19
  require __DIR__ . '/vendor/autoload.php';
20