WP User Avatar - Version 3.1.18

Version Description

  • Added wp_redirect interceptor to prevent 301 redirect during Ajax login.
  • Added filter for frontend user profile post listing.
  • Added notice to switch to seo friendly permalink structure.
  • Fixed bug where media uploader wasn't working in rare cases.
  • Disable screen options where not needed.
  • Remove wp_login action trigger from autologin because it can break ajax signup form.
  • Enhancement: Only set alt in user avatar if it exists.

See the changelog file for full change log information.

Download this release

Release Info

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

Code changes from version 3.1.17 to 3.1.18

changelog.txt CHANGED
@@ -1,5 +1,14 @@
1
  == Changelog ==
2
 
 
 
 
 
 
 
 
 
 
3
  = 3.1.17 =
4
  * Added wp_login trigger after login.
5
  * Fixed issue where deleted login page causes wp-admin to 404.
1
  == Changelog ==
2
 
3
+ = 3.1.18 =
4
+ * Added wp_redirect interceptor to prevent 301 redirect during Ajax login.
5
+ * Added filter for frontend user profile post listing.
6
+ * Added notice to switch to seo friendly permalink structure.
7
+ * Fixed bug where media uploader wasn't working in rare cases.
8
+ * Disable screen options where not needed.
9
+ * Remove wp_login action trigger from autologin because it can break ajax signup form.
10
+ * Enhancement: Only set alt in user avatar if it exists.
11
+
12
  = 3.1.17 =
13
  * Added wp_login trigger after login.
14
  * Fixed issue where deleted login page causes wp-admin to 404.
deprecated/wp-user-avatar/includes/class-wp-user-avatar.php CHANGED
@@ -52,8 +52,6 @@ class WP_User_Avatar
52
  if ( ! $this->wpua_is_author_or_above()) {
53
  // Upload errors
54
  add_action('user_profile_update_errors', array($this, 'wpua_upload_errors'), 10, 3);
55
- // Prefilter upload size. @see https://developer.wordpress.org/reference/hooks/wp_handle_upload_prefilter/#comment-2359
56
- add_filter('wp_handle_upload_prefilter', array($this, 'wpua_handle_upload_prefilter'));
57
  }
58
  }
59
 
@@ -224,10 +222,11 @@ class WP_User_Avatar
224
  *
225
  * @return object $file
226
  */
227
- public function wpua_handle_upload_prefilter($file)
228
  {
229
  global $wpua_upload_size_limit;
230
  $size = $file['size'];
 
231
  if ( ! empty($size) && $size > $wpua_upload_size_limit) {
232
  /**
233
  * Error handling that only appears on front pages
@@ -299,6 +298,12 @@ class WP_User_Avatar
299
 
300
  // Create attachment from upload
301
  if (isset($_POST['submit']) && $_POST['submit'] && ! empty($_FILES['wpua-file'])) {
 
 
 
 
 
 
302
  $name = $_FILES['wpua-file']['name'];
303
  $file = wp_handle_upload($_FILES['wpua-file'], array('test_form' => false));
304
  $type = $_FILES['wpua-file']['type'];
52
  if ( ! $this->wpua_is_author_or_above()) {
53
  // Upload errors
54
  add_action('user_profile_update_errors', array($this, 'wpua_upload_errors'), 10, 3);
 
 
55
  }
56
  }
57
 
222
  *
223
  * @return object $file
224
  */
225
+ public static function wpua_handle_upload_prefilter($file)
226
  {
227
  global $wpua_upload_size_limit;
228
  $size = $file['size'];
229
+
230
  if ( ! empty($size) && $size > $wpua_upload_size_limit) {
231
  /**
232
  * Error handling that only appears on front pages
298
 
299
  // Create attachment from upload
300
  if (isset($_POST['submit']) && $_POST['submit'] && ! empty($_FILES['wpua-file'])) {
301
+
302
+ if ( ! $wp_user_avatar->wpua_is_author_or_above()) {
303
+ // Prefilter upload size. @see https://developer.wordpress.org/reference/hooks/wp_handle_upload_prefilter/#comment-2359
304
+ add_filter('wp_handle_upload_prefilter', array(__CLASS__, 'wpua_handle_upload_prefilter'));
305
+ }
306
+
307
  $name = $_FILES['wpua-file']['name'];
308
  $file = wp_handle_upload($_FILES['wpua-file'], array('test_form' => false));
309
  $type = $_FILES['wpua-file']['type'];
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.1.17\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
- "POT-Creation-Date: 2021-08-22 11:41:06+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -86,7 +86,7 @@ msgid "Default Profile Picture"
86
  msgstr ""
87
 
88
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:252
89
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:142
90
  msgid "Choose Image"
91
  msgstr ""
92
 
@@ -98,7 +98,7 @@ msgid "Remove"
98
  msgstr ""
99
 
100
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:253
101
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:168
102
  msgid "Undo"
103
  msgstr ""
104
 
@@ -138,49 +138,49 @@ msgstr ""
138
  msgid "Automatically add paragraphs"
139
  msgstr ""
140
 
141
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:148
142
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:192
143
  msgid "Upload"
144
  msgstr ""
145
 
146
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:151
147
  #: deprecated/wp-user-avatar/includes/wpua-options-page.php:38
148
  #: deprecated/wp-user-avatar/includes/wpua-options-page.php:70
149
  msgid "Maximum upload file size: %d%s."
150
  msgstr ""
151
 
152
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:152
153
  msgid "Allowed Files"
154
  msgstr ""
155
 
156
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:152
157
  msgid "<code>jpg jpeg png gif</code>"
158
  msgstr ""
159
 
160
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:158
161
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:139
162
  msgid "Original Size"
163
  msgstr ""
164
 
165
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:162
166
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:142
167
  msgid "Thumbnail"
168
  msgstr ""
169
 
170
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:165
171
  msgid "Remove Image"
172
  msgstr ""
173
 
174
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:207
175
  msgid "This file is not an image. Please try another."
176
  msgstr ""
177
 
178
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:211
179
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:236
180
  msgid "Memory exceeded. Please try another smaller file."
181
  msgstr ""
182
 
183
- #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:215
184
  msgid ""
185
  "Unable to create directory %s. Is its parent directory writable by the "
186
  "server?"
@@ -403,14 +403,14 @@ msgstr ""
403
 
404
  #: src/Admin/SettingsPages/AbstractSettingsPage.php:55
405
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:87
406
- #: src/Admin/SettingsPages/GeneralSettings.php:380
407
  #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:28
408
  msgid "General"
409
  msgstr ""
410
 
411
  #: src/Admin/SettingsPages/AbstractSettingsPage.php:56
412
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:26
413
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:111
414
  msgid "Emails"
415
  msgstr ""
416
 
@@ -448,17 +448,18 @@ msgstr ""
448
  msgid "Available placeholders for subject and message body"
449
  msgstr ""
450
 
451
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:151
 
452
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:162
453
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:223
454
- #: src/Admin/SettingsPages/GeneralSettings.php:236
455
- #: src/Functions/GlobalFunctions.php:1237
456
- #: src/Functions/GlobalFunctions.php:1265
457
- #: src/Functions/GlobalFunctions.php:1287
458
  msgid "Select..."
459
  msgstr ""
460
 
461
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:175
462
  msgid "Custom URL Here"
463
  msgstr ""
464
 
@@ -530,7 +531,7 @@ msgid "Select Icon"
530
  msgstr ""
531
 
532
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1202
533
- #: src/Functions/GlobalFunctions.php:1290
534
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:202
535
  msgid "Standard Fields"
536
  msgstr ""
@@ -540,7 +541,7 @@ msgid "Extra Fields"
540
  msgstr ""
541
 
542
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1205
543
- #: src/Classes/ExtensionManager.php:53 src/Functions/GlobalFunctions.php:1293
544
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:216
545
  msgid "Custom Fields"
546
  msgstr ""
@@ -610,7 +611,7 @@ msgid ""
610
  msgstr ""
611
 
612
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1369
613
- #: src/Admin/SettingsPages/GeneralSettings.php:122
614
  msgid "Registration Settings"
615
  msgstr ""
616
 
@@ -628,7 +629,7 @@ msgid "Check to make this a passwordless login form."
628
  msgstr ""
629
 
630
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1416
631
- #: src/Admin/SettingsPages/GeneralSettings.php:136
632
  msgid "Login Settings"
633
  msgstr ""
634
 
@@ -687,8 +688,8 @@ msgstr ""
687
 
688
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:89
689
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:232
690
- #: src/Admin/SettingsPages/GeneralSettings.php:28
691
  #: src/Admin/SettingsPages/GeneralSettings.php:29
 
692
  #: src/Classes/Miscellaneous.php:17
693
  msgid "Settings"
694
  msgstr ""
@@ -708,7 +709,7 @@ msgstr ""
708
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:235
709
  #: src/Admin/SettingsPages/FormList.php:239
710
  #: src/Admin/SettingsPages/FormList.php:315
711
- #: src/Admin/SettingsPages/GeneralSettings.php:113
712
  #: src/ContentProtection/WPListTable.php:96
713
  #: src/ContentProtection/WPListTable.php:291
714
  #: src/ContentProtection/views/include.view-sidebar.php:12
@@ -721,7 +722,7 @@ msgstr ""
721
 
722
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Bio.php:22
723
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Bio.php:22
724
- #: src/Functions/GlobalFunctions.php:1277
725
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:211
726
  #: src/Themes/DragDrop/AbstractTheme.php:189
727
  msgid "Biography"
@@ -972,7 +973,7 @@ msgstr ""
972
 
973
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/DisplayName.php:22
974
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/DisplayName.php:22
975
- #: src/Functions/GlobalFunctions.php:1275
976
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:318
977
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:208
978
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:460
@@ -997,7 +998,7 @@ msgstr ""
997
 
998
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Email.php:22
999
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Email.php:22
1000
- #: src/Functions/GlobalFunctions.php:1276
1001
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:210
1002
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:206
1003
  #: src/Themes/DragDrop/AbstractTheme.php:162
@@ -1007,7 +1008,7 @@ msgstr ""
1007
 
1008
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/FirstName.php:22
1009
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/FirstName.php:22
1010
- #: src/Functions/GlobalFunctions.php:1272
1011
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:350
1012
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:209
1013
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:461
@@ -1027,7 +1028,7 @@ msgstr ""
1027
 
1028
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/LastName.php:22
1029
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/LastName.php:22
1030
- #: src/Functions/GlobalFunctions.php:1273
1031
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:383
1032
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:210
1033
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:462
@@ -1060,7 +1061,7 @@ msgstr ""
1060
 
1061
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Nickname.php:22
1062
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Nickname.php:22
1063
- #: src/Functions/GlobalFunctions.php:1274
1064
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:286
1065
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:300
1066
  #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:138
@@ -1216,7 +1217,7 @@ msgstr ""
1216
 
1217
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Username.php:22
1218
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Username.php:22
1219
- #: src/Functions/GlobalFunctions.php:1271
1220
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:135
1221
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:463
1222
  #: src/Themes/DragDrop/AbstractTheme.php:159
@@ -1392,211 +1393,211 @@ msgstr ""
1392
  msgid "Footer Text"
1393
  msgstr ""
1394
 
1395
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:47
1396
  msgid "Account Welcome Email"
1397
  msgstr ""
1398
 
1399
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:48
1400
  #: src/Classes/WelcomeEmailAfterSignup.php:51
1401
  msgid "Welcome To %s"
1402
  msgstr ""
1403
 
1404
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:50
1405
  msgid "Email that is sent to the user upon successful registration."
1406
  msgstr ""
1407
 
1408
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:51
1409
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:69
1410
  msgid "Users"
1411
  msgstr ""
1412
 
1413
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:53
1414
  msgid "Username of the registered user."
1415
  msgstr ""
1416
 
1417
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:54
1418
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:72
1419
  msgid "Email address of the registered user."
1420
  msgstr ""
1421
 
1422
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:55
1423
  msgid "Password of the registered user."
1424
  msgstr ""
1425
 
1426
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:56
1427
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:73
1428
  msgid "Website title or name."
1429
  msgstr ""
1430
 
1431
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:57
1432
  msgid "First Name entered by user on registration."
1433
  msgstr ""
1434
 
1435
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:58
1436
  msgid "Last Name entered by user on registration."
1437
  msgstr ""
1438
 
1439
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:59
1440
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:74
1441
  msgid "URL to reset password."
1442
  msgstr ""
1443
 
1444
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:60
1445
  msgid "URL to login.."
1446
  msgstr ""
1447
 
1448
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:65
1449
  msgid "Password Reset Email"
1450
  msgstr ""
1451
 
1452
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:66
1453
  #: src/Classes/PasswordReset.php:24 src/RegisterActivation/Base.php:85
1454
  msgid "[%s] Password Reset"
1455
  msgstr ""
1456
 
1457
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:68
1458
  msgid "Email that is sent to the user upon password reset request."
1459
  msgstr ""
1460
 
1461
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:71
1462
  msgid "Username of user."
1463
  msgstr ""
1464
 
1465
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:79
1466
  msgid "New User Admin Notification"
1467
  msgstr ""
1468
 
1469
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:80
1470
- #: src/Functions/GlobalFunctions.php:723 src/RegisterActivation/Base.php:89
1471
  msgid "[%s] New User Registration"
1472
  msgstr ""
1473
 
1474
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:82
1475
  msgid "Email that is sent to admins when there is a new user registration"
1476
  msgstr ""
1477
 
1478
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:83
1479
  msgid "Administrators"
1480
  msgstr ""
1481
 
1482
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:85
1483
  msgid "Username of the newly registered user."
1484
  msgstr ""
1485
 
1486
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:86
1487
  msgid "Email address of the newly registered user."
1488
  msgstr ""
1489
 
1490
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:87
1491
  msgid "First name of the newly registered user."
1492
  msgstr ""
1493
 
1494
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:88
1495
  msgid "Last name of the newly registered user."
1496
  msgstr ""
1497
 
1498
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:89
1499
  msgid "Website name or name."
1500
  msgstr ""
1501
 
1502
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:91
1503
  msgid "Replace \"field_key\" with the %scustom field key%s or usermeta key."
1504
  msgstr ""
1505
 
1506
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:117
1507
  msgid "Admin Email Address(es)"
1508
  msgstr ""
1509
 
1510
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:118
1511
  msgid ""
1512
  "The Email address to receive admin notifications. Use comma to separate "
1513
  "multiple email addresses."
1514
  msgstr ""
1515
 
1516
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:123
1517
  msgid "Sender Name"
1518
  msgstr ""
1519
 
1520
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:124
1521
  msgid ""
1522
  "The name to use as the sender of all ProfilePress emails. Preferably your "
1523
  "website name."
1524
  msgstr ""
1525
 
1526
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:130
1527
  msgid "Sender Email Address"
1528
  msgstr ""
1529
 
1530
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:131
1531
  msgid "The email address to use as the sender of all ProfilePress emails."
1532
  msgstr ""
1533
 
1534
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:137
1535
  msgid "HTML"
1536
  msgstr ""
1537
 
1538
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:138
1539
  msgid "Plain Text"
1540
  msgstr ""
1541
 
1542
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:141
1543
  msgid "Content Type"
1544
  msgstr ""
1545
 
1546
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:142
1547
  msgid ""
1548
  "Choose whether to send ProfilePress emails in HTML or plain text. HTML is "
1549
  "recommended."
1550
  msgstr ""
1551
 
1552
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:147
1553
  msgid "Default Template"
1554
  msgstr ""
1555
 
1556
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:148
1557
  msgid "Custom Email Template"
1558
  msgstr ""
1559
 
1560
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:151
1561
  msgid "Email Template"
1562
  msgstr ""
1563
 
1564
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:152
1565
  msgid ""
1566
  "Choose \"Custom Email Template\" if you want to code your own email template "
1567
  "from scratch."
1568
  msgstr ""
1569
 
1570
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:159
1571
  msgid "Customize Default Template"
1572
  msgstr ""
1573
 
1574
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:212
1575
  msgid "Preview Email"
1576
  msgstr ""
1577
 
1578
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:233
1579
  msgid "Enable Notification"
1580
  msgstr ""
1581
 
1582
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:234
1583
- #: src/Admin/SettingsPages/GeneralSettings.php:320
1584
  msgid "Enable"
1585
  msgstr ""
1586
 
1587
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:237
1588
  msgid "Check to enable this email notification."
1589
  msgstr ""
1590
 
1591
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:242
1592
  msgid "Subject Line"
1593
  msgstr ""
1594
 
1595
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:243
1596
  msgid "Enter the subject or title for the welcome message email."
1597
  msgstr ""
1598
 
1599
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:248
1600
  msgid "Message Body"
1601
  msgstr ""
1602
 
@@ -1728,8 +1729,8 @@ msgid "Filter by Type"
1728
  msgstr ""
1729
 
1730
  #: src/Admin/SettingsPages/Forms.php:99
1731
- #: src/Admin/SettingsPages/GeneralSettings.php:133
1732
- #: src/Admin/SettingsPages/GeneralSettings.php:248
1733
  #: src/Classes/AjaxHandler.php:54 src/NavigationMenuLinks/Backend.php:34
1734
  #: src/ShortcodeParser/Builder/GlobalShortcodes.php:237
1735
  #: src/Themes/DragDrop/AbstractBuildScratch.php:180
@@ -1738,13 +1739,13 @@ msgid "Login"
1738
  msgstr ""
1739
 
1740
  #: src/Admin/SettingsPages/Forms.php:104
1741
- #: src/Admin/SettingsPages/GeneralSettings.php:119
1742
  #: src/Classes/AjaxHandler.php:59
1743
  msgid "Registration"
1744
  msgstr ""
1745
 
1746
  #: src/Admin/SettingsPages/Forms.php:110
1747
- #: src/Admin/SettingsPages/GeneralSettings.php:265
1748
  #: src/Classes/AjaxHandler.php:64
1749
  msgid "Password Reset"
1750
  msgstr ""
@@ -1777,288 +1778,296 @@ msgstr ""
1777
  msgid "Add New"
1778
  msgstr ""
1779
 
1780
- #: src/Admin/SettingsPages/GeneralSettings.php:62
1781
  msgid "My Account edit profile form (default)"
1782
  msgstr ""
1783
 
1784
  #: src/Admin/SettingsPages/GeneralSettings.php:66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1785
  msgid "Global"
1786
  msgstr ""
1787
 
1788
- #: src/Admin/SettingsPages/GeneralSettings.php:69
1789
  msgid "Global Settings"
1790
  msgstr ""
1791
 
1792
- #: src/Admin/SettingsPages/GeneralSettings.php:72
1793
  msgid "Password-reset Page"
1794
  msgstr ""
1795
 
1796
- #: src/Admin/SettingsPages/GeneralSettings.php:75
1797
  msgid ""
1798
  "Select the page you wish to make WordPress default \"Lost Password page\". "
1799
  "%3$s This should be the page that contains a %1$spassword reset form "
1800
  "shortcode%2$s."
1801
  msgstr ""
1802
 
1803
- #: src/Admin/SettingsPages/GeneralSettings.php:80
1804
  msgid "Login Page"
1805
  msgstr ""
1806
 
1807
- #: src/Admin/SettingsPages/GeneralSettings.php:83
1808
  msgid ""
1809
  "Select the page you wish to make WordPress default Login page. %3$s This "
1810
  "should be the page that contains a %1$slogin form shortcode%2$s."
1811
  msgstr ""
1812
 
1813
- #: src/Admin/SettingsPages/GeneralSettings.php:88
1814
- #: src/Admin/SettingsPages/GeneralSettings.php:341
1815
  msgid "Registration Page"
1816
  msgstr ""
1817
 
1818
- #: src/Admin/SettingsPages/GeneralSettings.php:91
1819
  msgid ""
1820
  "Select the page you wish to make WordPress default Registration page. %3$s "
1821
  "This should be the page that contains a %1$sregistration form shortcode%2$s."
1822
  msgstr ""
1823
 
1824
- #: src/Admin/SettingsPages/GeneralSettings.php:96
1825
  msgid "My Account Page"
1826
  msgstr ""
1827
 
1828
- #: src/Admin/SettingsPages/GeneralSettings.php:99
1829
  msgid ""
1830
  "Select a page that contains %3$s shortcode. You can also use an %1$sedit "
1831
  "profile shortcode%2$s on the My Account page in case you want something "
1832
  "custom."
1833
  msgstr ""
1834
 
1835
- #: src/Admin/SettingsPages/GeneralSettings.php:104
1836
  msgid "Disable Ajax Mode"
1837
  msgstr ""
1838
 
1839
- #: src/Admin/SettingsPages/GeneralSettings.php:106
1840
  msgid "Disable"
1841
  msgstr ""
1842
 
1843
- #: src/Admin/SettingsPages/GeneralSettings.php:107
1844
  msgid ""
1845
  "Check this box to disable ajax behaviour(whereby forms do not require page "
1846
  "reload when submitted) in forms."
1847
  msgstr ""
1848
 
1849
- #: src/Admin/SettingsPages/GeneralSettings.php:112
1850
  msgid "Remove Data on Uninstall?"
1851
  msgstr ""
1852
 
1853
- #: src/Admin/SettingsPages/GeneralSettings.php:114
1854
  msgid ""
1855
  "Check this box if you would like ProfilePress to completely remove all of "
1856
  "its data when the plugin is deleted."
1857
  msgstr ""
1858
 
1859
- #: src/Admin/SettingsPages/GeneralSettings.php:125
1860
  msgid "Auto-login after registration"
1861
  msgstr ""
1862
 
1863
- #: src/Admin/SettingsPages/GeneralSettings.php:126
1864
  msgid "Enable auto-login"
1865
  msgstr ""
1866
 
1867
- #: src/Admin/SettingsPages/GeneralSettings.php:128
1868
  msgid ""
1869
  "Check this option to automatically login users after successful registration."
1870
  msgstr ""
1871
 
1872
- #: src/Admin/SettingsPages/GeneralSettings.php:140
1873
  msgid "Email Address and Username (default)"
1874
  msgstr ""
1875
 
1876
- #: src/Admin/SettingsPages/GeneralSettings.php:141
1877
  msgid "Email Address Only"
1878
  msgstr ""
1879
 
1880
- #: src/Admin/SettingsPages/GeneralSettings.php:142
1881
  msgid "Username Only"
1882
  msgstr ""
1883
 
1884
- #: src/Admin/SettingsPages/GeneralSettings.php:145
1885
  msgid "Login with Email or Username"
1886
  msgstr ""
1887
 
1888
- #: src/Admin/SettingsPages/GeneralSettings.php:146
1889
  msgid ""
1890
  "By default, WordPress allows users to log in using either an email address "
1891
  "or username. This setting allows you to restrict logins to only accept email "
1892
  "addresses or usernames."
1893
  msgstr ""
1894
 
1895
- #: src/Admin/SettingsPages/GeneralSettings.php:151
1896
  #: src/RegisterActivation/Base.php:167
1897
  msgid "My Account"
1898
  msgstr ""
1899
 
1900
- #: src/Admin/SettingsPages/GeneralSettings.php:152
1901
  msgid "My Account Settings"
1902
  msgstr ""
1903
 
1904
- #: src/Admin/SettingsPages/GeneralSettings.php:156
1905
  msgid "Redirect Default Edit Profile"
1906
  msgstr ""
1907
 
1908
- #: src/Admin/SettingsPages/GeneralSettings.php:157
1909
  #: src/ContentProtection/WPListTable.php:93
1910
  #: src/Functions/custom-settings-api.php:1007
1911
  msgid "Activate"
1912
  msgstr ""
1913
 
1914
- #: src/Admin/SettingsPages/GeneralSettings.php:160
1915
  msgid ""
1916
  "Redirect <a target=\"_blank\" href=\"%s\">default WordPress profile</a> to "
1917
  "My Account page."
1918
  msgstr ""
1919
 
1920
- #: src/Admin/SettingsPages/GeneralSettings.php:167
1921
  msgid "Edit Account Endpoint"
1922
  msgstr ""
1923
 
1924
- #: src/Admin/SettingsPages/GeneralSettings.php:168
1925
  msgid "Endpoint for the \"My Account → Account Details\" page."
1926
  msgstr ""
1927
 
1928
- #: src/Admin/SettingsPages/GeneralSettings.php:173
1929
  msgid "Change Password Endpoint"
1930
  msgstr ""
1931
 
1932
- #: src/Admin/SettingsPages/GeneralSettings.php:174
1933
  msgid "Endpoint for the \"My Account → Change Password\" page."
1934
  msgstr ""
1935
 
1936
- #: src/Admin/SettingsPages/GeneralSettings.php:179
1937
  msgid "Account Details Form"
1938
  msgstr ""
1939
 
1940
- #: src/Admin/SettingsPages/GeneralSettings.php:180
1941
  msgid ""
1942
  "Do you want to replace the default form in \"My Account → Account Details\" "
1943
  "page? select an Edit Profile form that will replace it."
1944
  msgstr ""
1945
 
1946
- #: src/Admin/SettingsPages/GeneralSettings.php:184
1947
  msgid "Frontend Profile"
1948
  msgstr ""
1949
 
1950
- #: src/Admin/SettingsPages/GeneralSettings.php:185
1951
  msgid "Frontend Profile Settings"
1952
  msgstr ""
1953
 
1954
- #: src/Admin/SettingsPages/GeneralSettings.php:189
1955
  msgid "Page with Profile Shortcode"
1956
  msgstr ""
1957
 
1958
- #: src/Admin/SettingsPages/GeneralSettings.php:191
1959
  msgid ""
1960
  "Select the page that contains your <a href=\"%s\">Frontend user profile "
1961
  "shortcode</a>."
1962
  msgstr ""
1963
 
1964
- #: src/Admin/SettingsPages/GeneralSettings.php:196
1965
  msgid "Profile Slug"
1966
  msgstr ""
1967
 
1968
- #: src/Admin/SettingsPages/GeneralSettings.php:197
1969
  msgid ""
1970
  "Enter your preferred profile URL slug. Default to \"profile\" if empty. If "
1971
  "slug is \"profile\", URL becomes %s where \"john\" is a user's username."
1972
  msgstr ""
1973
 
1974
- #: src/Admin/SettingsPages/GeneralSettings.php:201
1975
  msgid "Disable Guests from Viewing Profiles"
1976
  msgstr ""
1977
 
1978
- #: src/Admin/SettingsPages/GeneralSettings.php:202
1979
  msgid ""
1980
  "Enable this option to stop disable guests or non-registered users from "
1981
  "viewing users profiles."
1982
  msgstr ""
1983
 
1984
- #: src/Admin/SettingsPages/GeneralSettings.php:207
1985
  msgid "Disable Members from Viewing Profiles"
1986
  msgstr ""
1987
 
1988
- #: src/Admin/SettingsPages/GeneralSettings.php:208
1989
  msgid ""
1990
  "Enable this option to stop members from viewing other users profiles. If "
1991
  "enabled, users can only see their own profile."
1992
  msgstr ""
1993
 
1994
- #: src/Admin/SettingsPages/GeneralSettings.php:213
1995
  msgid "Comment Author URL to Profile"
1996
  msgstr ""
1997
 
1998
- #: src/Admin/SettingsPages/GeneralSettings.php:214
1999
- #: src/Admin/SettingsPages/GeneralSettings.php:221
2000
  msgid "Enable option"
2001
  msgstr ""
2002
 
2003
- #: src/Admin/SettingsPages/GeneralSettings.php:216
2004
  msgid "Change URL of comment authors to their ProfilePress front-end profile."
2005
  msgstr ""
2006
 
2007
- #: src/Admin/SettingsPages/GeneralSettings.php:220
2008
  msgid "Authors Page to Profile"
2009
  msgstr ""
2010
 
2011
- #: src/Admin/SettingsPages/GeneralSettings.php:223
2012
  msgid "Change and redirect authors pages %s to their front-end profiles %s."
2013
  msgstr ""
2014
 
2015
- #: src/Admin/SettingsPages/GeneralSettings.php:228
2016
  msgid "Redirection"
2017
  msgstr ""
2018
 
2019
- #: src/Admin/SettingsPages/GeneralSettings.php:229
2020
  msgid "Redirection Settings"
2021
  msgstr ""
2022
 
2023
- #: src/Admin/SettingsPages/GeneralSettings.php:233
2024
  #: src/Widgets/TabbedWidget.php:214
2025
  msgid "Log out"
2026
  msgstr ""
2027
 
2028
- #: src/Admin/SettingsPages/GeneralSettings.php:237
2029
- #: src/Admin/SettingsPages/GeneralSettings.php:252
2030
- msgid "Currently viewed page"
2031
- msgstr ""
2032
-
2033
- #: src/Admin/SettingsPages/GeneralSettings.php:241
2034
  msgid ""
2035
  "Select the page users will be redirected to after logout. To redirect to a "
2036
  "custom URL instead of a selected page, enter the URL in input field directly "
2037
  "above this description."
2038
  msgstr ""
2039
 
2040
- #: src/Admin/SettingsPages/GeneralSettings.php:242
2041
- #: src/Admin/SettingsPages/GeneralSettings.php:259
2042
- #: src/Admin/SettingsPages/GeneralSettings.php:276
2043
  msgid "Leave the \"custom URL\" field empty to fallback to the selected page."
2044
  msgstr ""
2045
 
2046
- #: src/Admin/SettingsPages/GeneralSettings.php:253
2047
- msgid "WordPress Dashboard"
2048
- msgstr ""
2049
-
2050
- #: src/Admin/SettingsPages/GeneralSettings.php:258
2051
  msgid ""
2052
  "Select the page or custom URL users will be redirected to after login. To "
2053
  "redirect to a custom URL instead of a selected page, enter the URL in input "
2054
  "field directly above this description"
2055
  msgstr ""
2056
 
2057
- #: src/Admin/SettingsPages/GeneralSettings.php:270
2058
  msgid "Default.."
2059
  msgstr ""
2060
 
2061
- #: src/Admin/SettingsPages/GeneralSettings.php:275
2062
  msgid ""
2063
  "Select the page or custom URL users will be redirected to after they "
2064
  "successfully reset or change their password. To redirect to a custom URL "
@@ -2066,123 +2075,123 @@ msgid ""
2066
  "description."
2067
  msgstr ""
2068
 
2069
- #: src/Admin/SettingsPages/GeneralSettings.php:282
2070
  #: src/ContentProtection/WPListTable.php:30
2071
  msgid "Access"
2072
  msgstr ""
2073
 
2074
- #: src/Admin/SettingsPages/GeneralSettings.php:283
2075
  msgid "Access Settings"
2076
  msgstr ""
2077
 
2078
- #: src/Admin/SettingsPages/GeneralSettings.php:289
2079
  msgid ""
2080
  "%sNote:%s Access setting takes precedence over %sContent Protection rules%s."
2081
  msgstr ""
2082
 
2083
- #: src/Admin/SettingsPages/GeneralSettings.php:295
2084
  msgid "Global Site Access"
2085
  msgstr ""
2086
 
2087
- #: src/Admin/SettingsPages/GeneralSettings.php:297
2088
  msgid "Accessible to Everyone"
2089
  msgstr ""
2090
 
2091
- #: src/Admin/SettingsPages/GeneralSettings.php:298
2092
  msgid "Accessible to Logged-in Users"
2093
  msgstr ""
2094
 
2095
- #: src/Admin/SettingsPages/GeneralSettings.php:303
2096
  msgid "Redirect Page"
2097
  msgstr ""
2098
 
2099
- #: src/Admin/SettingsPages/GeneralSettings.php:305
2100
  msgid ""
2101
  "Select the page or custom URL to redirect users that are not logged in to."
2102
  msgstr ""
2103
 
2104
- #: src/Admin/SettingsPages/GeneralSettings.php:309
2105
  msgid "Pages to Exclude"
2106
  msgstr ""
2107
 
2108
- #: src/Admin/SettingsPages/GeneralSettings.php:315
2109
  msgid ""
2110
  "Select the pages to exclude beside the redirect page that will be accessible "
2111
  "by everyone."
2112
  msgstr ""
2113
 
2114
- #: src/Admin/SettingsPages/GeneralSettings.php:321
2115
  msgid "Accessible Homepage"
2116
  msgstr ""
2117
 
2118
- #: src/Admin/SettingsPages/GeneralSettings.php:322
2119
  msgid "Check to allow homepage to be accessible by everyone."
2120
  msgstr ""
2121
 
2122
- #: src/Admin/SettingsPages/GeneralSettings.php:326
2123
  #: src/ContentProtection/Frontend/PostContent.php:62
2124
  msgid "You are unauthorized to view this page."
2125
  msgstr ""
2126
 
2127
- #: src/Admin/SettingsPages/GeneralSettings.php:327
2128
  msgid "Global Restricted Access Message"
2129
  msgstr ""
2130
 
2131
- #: src/Admin/SettingsPages/GeneralSettings.php:328
2132
  msgid ""
2133
  "This is the message shown to users that do not have permission to view the "
2134
  "content."
2135
  msgstr ""
2136
 
2137
- #: src/Admin/SettingsPages/GeneralSettings.php:335
2138
  msgid "BuddyPress"
2139
  msgstr ""
2140
 
2141
- #: src/Admin/SettingsPages/GeneralSettings.php:336
2142
  msgid "BuddyPress Settings"
2143
  msgstr ""
2144
 
2145
- #: src/Admin/SettingsPages/GeneralSettings.php:342
2146
- #: src/Admin/SettingsPages/GeneralSettings.php:349
2147
- #: src/Admin/SettingsPages/GeneralSettings.php:356
2148
- #: src/Admin/SettingsPages/GeneralSettings.php:372
2149
  msgid "Check to enable"
2150
  msgstr ""
2151
 
2152
- #: src/Admin/SettingsPages/GeneralSettings.php:343
2153
  msgid "Check to redirect BuddyPress registration page to your selected %s"
2154
  msgstr ""
2155
 
2156
- #: src/Admin/SettingsPages/GeneralSettings.php:347
2157
  msgid "Override Avatar"
2158
  msgstr ""
2159
 
2160
- #: src/Admin/SettingsPages/GeneralSettings.php:350
2161
  msgid ""
2162
  "Check to override BuddyPress users uploaded avatars with that of "
2163
  "ProfilePress."
2164
  msgstr ""
2165
 
2166
- #: src/Admin/SettingsPages/GeneralSettings.php:355
2167
- #: src/Admin/SettingsPages/GeneralSettings.php:371
2168
  msgid "Override Profile URL"
2169
  msgstr ""
2170
 
2171
- #: src/Admin/SettingsPages/GeneralSettings.php:357
2172
  msgid ""
2173
  "Check to change the profile URL of BuddyPress users to ProfilePress front-"
2174
  "end profile."
2175
  msgstr ""
2176
 
2177
- #: src/Admin/SettingsPages/GeneralSettings.php:365
2178
  msgid "bbPress"
2179
  msgstr ""
2180
 
2181
- #: src/Admin/SettingsPages/GeneralSettings.php:366
2182
  msgid "bbPress Settings"
2183
  msgstr ""
2184
 
2185
- #: src/Admin/SettingsPages/GeneralSettings.php:373
2186
  msgid "Check to change bbPress profile URL to ProfilePress front-end profile."
2187
  msgstr ""
2188
 
@@ -2463,7 +2472,7 @@ msgid ""
2463
  "will be redirected to website homepage."
2464
  msgstr ""
2465
 
2466
- #: src/Classes/AdminNotices.php:82
2467
  msgid ""
2468
  "Hey, I noticed you have been using ProfilePress for at least 7 days now - "
2469
  "that's awesome! Could you please do us a BIG favor and give it a %1$s5-star "
@@ -2471,15 +2480,27 @@ msgid ""
2471
  "motivation - thanks!"
2472
  msgstr ""
2473
 
2474
- #: src/Classes/AdminNotices.php:86
2475
  msgid "Sure! I'd love to give a review"
2476
  msgstr ""
2477
 
2478
- #: src/Classes/AdminNotices.php:88
2479
- msgid "Dimiss Forever"
 
 
 
 
2480
  msgstr ""
2481
 
2482
- #: src/Classes/AdminNotices.php:110
 
 
 
 
 
 
 
 
2483
  msgid ""
2484
  "Important news! %1$sWP User Avatar%2$s is now %1$sProfilePress%2$s. We added "
2485
  "new features such as member directories, frontend user registration & login "
@@ -2487,21 +2508,21 @@ msgid ""
2487
  "%4$sDismiss Notice%5$s"
2488
  msgstr ""
2489
 
2490
- #: src/Classes/AdminNotices.php:129
2491
  msgid ""
2492
  "ProfilePress needs to create several pages (User Profiles, My Account, "
2493
  "Registration, Login, Password Reset, Member Directory) to function correctly."
2494
  msgstr ""
2495
 
2496
- #: src/Classes/AdminNotices.php:132
2497
  msgid "Create Pages"
2498
  msgstr ""
2499
 
2500
- #: src/Classes/AdminNotices.php:132
2501
  msgid "No Thanks"
2502
  msgstr ""
2503
 
2504
- #: src/Classes/AdminNotices.php:160
2505
  msgid ""
2506
  "User registration currently disabled. To enable, Go to <a href=\"%1$s"
2507
  "\">Settings -> General</a>, and under Membership, check \"Anyone can register"
@@ -2556,7 +2577,7 @@ msgstr ""
2556
  msgid "Form with similar name exist already."
2557
  msgstr ""
2558
 
2559
- #: src/Classes/AjaxHandler.php:527
2560
  msgid "Security validation failed. Try again"
2561
  msgstr ""
2562
 
@@ -3062,16 +3083,16 @@ msgstr ""
3062
  msgid "Protection Rules"
3063
  msgstr ""
3064
 
3065
- #: src/ContentProtection/SettingsPage.php:100
3066
  msgid "Title cannot be empty."
3067
  msgstr ""
3068
 
3069
- #: src/ContentProtection/SettingsPage.php:134
3070
  #: src/Themes/DragDrop/AbstractTheme.php:114
3071
  msgid "Changes saved."
3072
  msgstr ""
3073
 
3074
- #: src/ContentProtection/SettingsPage.php:156
3075
  msgid "Add a Protection Rule"
3076
  msgstr ""
3077
 
@@ -3187,59 +3208,59 @@ msgid "Redirect URL"
3187
  msgstr ""
3188
 
3189
  #. translators: %s: User login.
3190
- #: src/Functions/GlobalFunctions.php:793
3191
  msgid "Username: %s"
3192
  msgstr ""
3193
 
3194
- #: src/Functions/GlobalFunctions.php:794
3195
  msgid "To set your password, visit the following address:"
3196
  msgstr ""
3197
 
3198
  #. translators: Login details notification email subject. %s: Site title.
3199
- #: src/Functions/GlobalFunctions.php:802
3200
  msgid "[%s] Login Details"
3201
  msgstr ""
3202
 
3203
- #: src/Functions/GlobalFunctions.php:1100
3204
  msgid ""
3205
  "It must be unique for each field, not a reserve text, in lowercase letters "
3206
  "only with an underscore ( _ ) separating words e.g job_title"
3207
  msgstr ""
3208
 
3209
- #: src/Functions/GlobalFunctions.php:1221
3210
  msgid "%s (WooCommerce Billing Address)"
3211
  msgstr ""
3212
 
3213
- #: src/Functions/GlobalFunctions.php:1225
3214
  msgid "%s (WooCommerce Shipping Address)"
3215
  msgstr ""
3216
 
3217
- #: src/Functions/GlobalFunctions.php:1269
3218
  msgid "First and Last Names"
3219
  msgstr ""
3220
 
3221
- #: src/Functions/GlobalFunctions.php:1270
3222
  msgid "Last and First Names"
3223
  msgstr ""
3224
 
3225
- #: src/Functions/GlobalFunctions.php:1278
3226
  msgid "Registration Date"
3227
  msgstr ""
3228
 
3229
- #: src/Functions/GlobalFunctions.php:1395
3230
  msgid "There was an problem while verifying your file."
3231
  msgstr ""
3232
 
3233
- #: src/Functions/GlobalFunctions.php:1400
3234
  msgid "Sorry, this file extension is not permitted for security reasons."
3235
  msgstr ""
3236
 
3237
- #: src/Functions/GlobalFunctions.php:1404
3238
  msgid "Sorry, this file type is not permitted for security reasons."
3239
  msgstr ""
3240
 
3241
- #: src/Functions/GlobalFunctions.php:1408
3242
- #: src/Functions/GlobalFunctions.php:1412
3243
  msgid "Error: The file you uploaded is not accepted on our website."
3244
  msgstr ""
3245
 
@@ -4416,7 +4437,7 @@ msgstr ""
4416
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:814
4417
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:873
4418
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:922
4419
- #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:349
4420
  msgid "Field key is missing"
4421
  msgstr ""
4422
 
@@ -4448,23 +4469,23 @@ msgstr ""
4448
  msgid "Delete Cover Image"
4449
  msgstr ""
4450
 
4451
- #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:112
4452
  msgid "This user has not created any post."
4453
  msgstr ""
4454
 
4455
- #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:115
4456
  msgid "You have not created any post."
4457
  msgstr ""
4458
 
4459
- #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:173
4460
  msgid "This user has not made any comment."
4461
  msgstr ""
4462
 
4463
- #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:176
4464
  msgid "You have not made any comment."
4465
  msgstr ""
4466
 
4467
- #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:664
4468
  msgid "No post written yet."
4469
  msgstr ""
4470
 
@@ -5421,9 +5442,9 @@ msgstr ""
5421
  msgid "ProfilePress"
5422
  msgstr ""
5423
 
5424
- #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.1.17) #-#-#-#-#
5425
  #. Plugin URI of the plugin/theme
5426
- #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.1.17) #-#-#-#-#
5427
  #. Author URI of the plugin/theme
5428
  msgid "https://profilepress.net"
5429
  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.18\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
+ "POT-Creation-Date: 2021-09-02 14:57:14+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
86
  msgstr ""
87
 
88
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:252
89
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:140
90
  msgid "Choose Image"
91
  msgstr ""
92
 
98
  msgstr ""
99
 
100
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:253
101
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:166
102
  msgid "Undo"
103
  msgstr ""
104
 
138
  msgid "Automatically add paragraphs"
139
  msgstr ""
140
 
141
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:146
142
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:192
143
  msgid "Upload"
144
  msgstr ""
145
 
146
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:149
147
  #: deprecated/wp-user-avatar/includes/wpua-options-page.php:38
148
  #: deprecated/wp-user-avatar/includes/wpua-options-page.php:70
149
  msgid "Maximum upload file size: %d%s."
150
  msgstr ""
151
 
152
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:150
153
  msgid "Allowed Files"
154
  msgstr ""
155
 
156
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:150
157
  msgid "<code>jpg jpeg png gif</code>"
158
  msgstr ""
159
 
160
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:156
161
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:139
162
  msgid "Original Size"
163
  msgstr ""
164
 
165
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:160
166
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:142
167
  msgid "Thumbnail"
168
  msgstr ""
169
 
170
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:163
171
  msgid "Remove Image"
172
  msgstr ""
173
 
174
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:205
175
  msgid "This file is not an image. Please try another."
176
  msgstr ""
177
 
178
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:209
179
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:235
180
  msgid "Memory exceeded. Please try another smaller file."
181
  msgstr ""
182
 
183
+ #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:213
184
  msgid ""
185
  "Unable to create directory %s. Is its parent directory writable by the "
186
  "server?"
403
 
404
  #: src/Admin/SettingsPages/AbstractSettingsPage.php:55
405
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:87
406
+ #: src/Admin/SettingsPages/GeneralSettings.php:385
407
  #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:28
408
  msgid "General"
409
  msgstr ""
410
 
411
  #: src/Admin/SettingsPages/AbstractSettingsPage.php:56
412
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:26
413
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:116
414
  msgid "Emails"
415
  msgstr ""
416
 
448
  msgid "Available placeholders for subject and message body"
449
  msgstr ""
450
 
451
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:149
452
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:166
453
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:162
454
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:223
455
+ #: src/Admin/SettingsPages/GeneralSettings.php:247
456
+ #: src/Functions/GlobalFunctions.php:1240
457
+ #: src/Functions/GlobalFunctions.php:1268
458
+ #: src/Functions/GlobalFunctions.php:1290
459
  msgid "Select..."
460
  msgstr ""
461
 
462
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:184
463
  msgid "Custom URL Here"
464
  msgstr ""
465
 
531
  msgstr ""
532
 
533
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1202
534
+ #: src/Functions/GlobalFunctions.php:1293
535
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:202
536
  msgid "Standard Fields"
537
  msgstr ""
541
  msgstr ""
542
 
543
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1205
544
+ #: src/Classes/ExtensionManager.php:53 src/Functions/GlobalFunctions.php:1296
545
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:216
546
  msgid "Custom Fields"
547
  msgstr ""
611
  msgstr ""
612
 
613
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1369
614
+ #: src/Admin/SettingsPages/GeneralSettings.php:133
615
  msgid "Registration Settings"
616
  msgstr ""
617
 
629
  msgstr ""
630
 
631
  #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1416
632
+ #: src/Admin/SettingsPages/GeneralSettings.php:147
633
  msgid "Login Settings"
634
  msgstr ""
635
 
688
 
689
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:89
690
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:232
 
691
  #: src/Admin/SettingsPages/GeneralSettings.php:29
692
+ #: src/Admin/SettingsPages/GeneralSettings.php:30
693
  #: src/Classes/Miscellaneous.php:17
694
  msgid "Settings"
695
  msgstr ""
709
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:235
710
  #: src/Admin/SettingsPages/FormList.php:239
711
  #: src/Admin/SettingsPages/FormList.php:315
712
+ #: src/Admin/SettingsPages/GeneralSettings.php:124
713
  #: src/ContentProtection/WPListTable.php:96
714
  #: src/ContentProtection/WPListTable.php:291
715
  #: src/ContentProtection/views/include.view-sidebar.php:12
722
 
723
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Bio.php:22
724
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Bio.php:22
725
+ #: src/Functions/GlobalFunctions.php:1280
726
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:211
727
  #: src/Themes/DragDrop/AbstractTheme.php:189
728
  msgid "Biography"
973
 
974
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/DisplayName.php:22
975
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/DisplayName.php:22
976
+ #: src/Functions/GlobalFunctions.php:1278
977
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:318
978
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:208
979
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:460
998
 
999
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Email.php:22
1000
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Email.php:22
1001
+ #: src/Functions/GlobalFunctions.php:1279
1002
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:210
1003
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:206
1004
  #: src/Themes/DragDrop/AbstractTheme.php:162
1008
 
1009
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/FirstName.php:22
1010
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/FirstName.php:22
1011
+ #: src/Functions/GlobalFunctions.php:1275
1012
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:350
1013
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:209
1014
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:461
1028
 
1029
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/LastName.php:22
1030
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/LastName.php:22
1031
+ #: src/Functions/GlobalFunctions.php:1276
1032
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:383
1033
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:210
1034
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:462
1061
 
1062
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Nickname.php:22
1063
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Nickname.php:22
1064
+ #: src/Functions/GlobalFunctions.php:1277
1065
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:286
1066
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:300
1067
  #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:138
1217
 
1218
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Username.php:22
1219
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Username.php:22
1220
+ #: src/Functions/GlobalFunctions.php:1274
1221
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:135
1222
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:463
1223
  #: src/Themes/DragDrop/AbstractTheme.php:159
1393
  msgid "Footer Text"
1394
  msgstr ""
1395
 
1396
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:52
1397
  msgid "Account Welcome Email"
1398
  msgstr ""
1399
 
1400
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:53
1401
  #: src/Classes/WelcomeEmailAfterSignup.php:51
1402
  msgid "Welcome To %s"
1403
  msgstr ""
1404
 
1405
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:55
1406
  msgid "Email that is sent to the user upon successful registration."
1407
  msgstr ""
1408
 
1409
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:56
1410
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:74
1411
  msgid "Users"
1412
  msgstr ""
1413
 
1414
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:58
1415
  msgid "Username of the registered user."
1416
  msgstr ""
1417
 
1418
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:59
1419
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:77
1420
  msgid "Email address of the registered user."
1421
  msgstr ""
1422
 
1423
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:60
1424
  msgid "Password of the registered user."
1425
  msgstr ""
1426
 
1427
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:61
1428
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:78
1429
  msgid "Website title or name."
1430
  msgstr ""
1431
 
1432
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:62
1433
  msgid "First Name entered by user on registration."
1434
  msgstr ""
1435
 
1436
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:63
1437
  msgid "Last Name entered by user on registration."
1438
  msgstr ""
1439
 
1440
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:64
1441
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:79
1442
  msgid "URL to reset password."
1443
  msgstr ""
1444
 
1445
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:65
1446
  msgid "URL to login.."
1447
  msgstr ""
1448
 
1449
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:70
1450
  msgid "Password Reset Email"
1451
  msgstr ""
1452
 
1453
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:71
1454
  #: src/Classes/PasswordReset.php:24 src/RegisterActivation/Base.php:85
1455
  msgid "[%s] Password Reset"
1456
  msgstr ""
1457
 
1458
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:73
1459
  msgid "Email that is sent to the user upon password reset request."
1460
  msgstr ""
1461
 
1462
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:76
1463
  msgid "Username of user."
1464
  msgstr ""
1465
 
1466
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:84
1467
  msgid "New User Admin Notification"
1468
  msgstr ""
1469
 
1470
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:85
1471
+ #: src/Functions/GlobalFunctions.php:726 src/RegisterActivation/Base.php:89
1472
  msgid "[%s] New User Registration"
1473
  msgstr ""
1474
 
1475
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:87
1476
  msgid "Email that is sent to admins when there is a new user registration"
1477
  msgstr ""
1478
 
1479
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:88
1480
  msgid "Administrators"
1481
  msgstr ""
1482
 
1483
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:90
1484
  msgid "Username of the newly registered user."
1485
  msgstr ""
1486
 
1487
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:91
1488
  msgid "Email address of the newly registered user."
1489
  msgstr ""
1490
 
1491
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:92
1492
  msgid "First name of the newly registered user."
1493
  msgstr ""
1494
 
1495
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:93
1496
  msgid "Last name of the newly registered user."
1497
  msgstr ""
1498
 
1499
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:94
1500
  msgid "Website name or name."
1501
  msgstr ""
1502
 
1503
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:96
1504
  msgid "Replace \"field_key\" with the %scustom field key%s or usermeta key."
1505
  msgstr ""
1506
 
1507
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:122
1508
  msgid "Admin Email Address(es)"
1509
  msgstr ""
1510
 
1511
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:123
1512
  msgid ""
1513
  "The Email address to receive admin notifications. Use comma to separate "
1514
  "multiple email addresses."
1515
  msgstr ""
1516
 
1517
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:128
1518
  msgid "Sender Name"
1519
  msgstr ""
1520
 
1521
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:129
1522
  msgid ""
1523
  "The name to use as the sender of all ProfilePress emails. Preferably your "
1524
  "website name."
1525
  msgstr ""
1526
 
1527
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:135
1528
  msgid "Sender Email Address"
1529
  msgstr ""
1530
 
1531
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:136
1532
  msgid "The email address to use as the sender of all ProfilePress emails."
1533
  msgstr ""
1534
 
1535
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:142
1536
  msgid "HTML"
1537
  msgstr ""
1538
 
1539
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:143
1540
  msgid "Plain Text"
1541
  msgstr ""
1542
 
1543
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:146
1544
  msgid "Content Type"
1545
  msgstr ""
1546
 
1547
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:147
1548
  msgid ""
1549
  "Choose whether to send ProfilePress emails in HTML or plain text. HTML is "
1550
  "recommended."
1551
  msgstr ""
1552
 
1553
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:152
1554
  msgid "Default Template"
1555
  msgstr ""
1556
 
1557
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:153
1558
  msgid "Custom Email Template"
1559
  msgstr ""
1560
 
1561
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:156
1562
  msgid "Email Template"
1563
  msgstr ""
1564
 
1565
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:157
1566
  msgid ""
1567
  "Choose \"Custom Email Template\" if you want to code your own email template "
1568
  "from scratch."
1569
  msgstr ""
1570
 
1571
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:164
1572
  msgid "Customize Default Template"
1573
  msgstr ""
1574
 
1575
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:217
1576
  msgid "Preview Email"
1577
  msgstr ""
1578
 
1579
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:238
1580
  msgid "Enable Notification"
1581
  msgstr ""
1582
 
1583
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:239
1584
+ #: src/Admin/SettingsPages/GeneralSettings.php:325
1585
  msgid "Enable"
1586
  msgstr ""
1587
 
1588
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:242
1589
  msgid "Check to enable this email notification."
1590
  msgstr ""
1591
 
1592
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:247
1593
  msgid "Subject Line"
1594
  msgstr ""
1595
 
1596
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:248
1597
  msgid "Enter the subject or title for the welcome message email."
1598
  msgstr ""
1599
 
1600
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:253
1601
  msgid "Message Body"
1602
  msgstr ""
1603
 
1729
  msgstr ""
1730
 
1731
  #: src/Admin/SettingsPages/Forms.php:99
1732
+ #: src/Admin/SettingsPages/GeneralSettings.php:144
1733
+ #: src/Admin/SettingsPages/GeneralSettings.php:260
1734
  #: src/Classes/AjaxHandler.php:54 src/NavigationMenuLinks/Backend.php:34
1735
  #: src/ShortcodeParser/Builder/GlobalShortcodes.php:237
1736
  #: src/Themes/DragDrop/AbstractBuildScratch.php:180
1739
  msgstr ""
1740
 
1741
  #: src/Admin/SettingsPages/Forms.php:104
1742
+ #: src/Admin/SettingsPages/GeneralSettings.php:130
1743
  #: src/Classes/AjaxHandler.php:59
1744
  msgid "Registration"
1745
  msgstr ""
1746
 
1747
  #: src/Admin/SettingsPages/Forms.php:110
1748
+ #: src/Admin/SettingsPages/GeneralSettings.php:270
1749
  #: src/Classes/AjaxHandler.php:64
1750
  msgid "Password Reset"
1751
  msgstr ""
1778
  msgid "Add New"
1779
  msgstr ""
1780
 
1781
+ #: src/Admin/SettingsPages/GeneralSettings.php:63
1782
  msgid "My Account edit profile form (default)"
1783
  msgstr ""
1784
 
1785
  #: src/Admin/SettingsPages/GeneralSettings.php:66
1786
+ #: src/Admin/SettingsPages/GeneralSettings.php:248
1787
+ msgid "Currently viewed page"
1788
+ msgstr ""
1789
+
1790
+ #: src/Admin/SettingsPages/GeneralSettings.php:67
1791
+ msgid "Previous/Referrer page (Pro feature)"
1792
+ msgstr ""
1793
+
1794
+ #: src/Admin/SettingsPages/GeneralSettings.php:68
1795
+ msgid "WordPress Dashboard"
1796
+ msgstr ""
1797
+
1798
+ #: src/Admin/SettingsPages/GeneralSettings.php:72
1799
+ msgid "Previous/Referrer page"
1800
+ msgstr ""
1801
+
1802
+ #: src/Admin/SettingsPages/GeneralSettings.php:77
1803
  msgid "Global"
1804
  msgstr ""
1805
 
1806
+ #: src/Admin/SettingsPages/GeneralSettings.php:80
1807
  msgid "Global Settings"
1808
  msgstr ""
1809
 
1810
+ #: src/Admin/SettingsPages/GeneralSettings.php:83
1811
  msgid "Password-reset Page"
1812
  msgstr ""
1813
 
1814
+ #: src/Admin/SettingsPages/GeneralSettings.php:86
1815
  msgid ""
1816
  "Select the page you wish to make WordPress default \"Lost Password page\". "
1817
  "%3$s This should be the page that contains a %1$spassword reset form "
1818
  "shortcode%2$s."
1819
  msgstr ""
1820
 
1821
+ #: src/Admin/SettingsPages/GeneralSettings.php:91
1822
  msgid "Login Page"
1823
  msgstr ""
1824
 
1825
+ #: src/Admin/SettingsPages/GeneralSettings.php:94
1826
  msgid ""
1827
  "Select the page you wish to make WordPress default Login page. %3$s This "
1828
  "should be the page that contains a %1$slogin form shortcode%2$s."
1829
  msgstr ""
1830
 
1831
+ #: src/Admin/SettingsPages/GeneralSettings.php:99
1832
+ #: src/Admin/SettingsPages/GeneralSettings.php:346
1833
  msgid "Registration Page"
1834
  msgstr ""
1835
 
1836
+ #: src/Admin/SettingsPages/GeneralSettings.php:102
1837
  msgid ""
1838
  "Select the page you wish to make WordPress default Registration page. %3$s "
1839
  "This should be the page that contains a %1$sregistration form shortcode%2$s."
1840
  msgstr ""
1841
 
1842
+ #: src/Admin/SettingsPages/GeneralSettings.php:107
1843
  msgid "My Account Page"
1844
  msgstr ""
1845
 
1846
+ #: src/Admin/SettingsPages/GeneralSettings.php:110
1847
  msgid ""
1848
  "Select a page that contains %3$s shortcode. You can also use an %1$sedit "
1849
  "profile shortcode%2$s on the My Account page in case you want something "
1850
  "custom."
1851
  msgstr ""
1852
 
1853
+ #: src/Admin/SettingsPages/GeneralSettings.php:115
1854
  msgid "Disable Ajax Mode"
1855
  msgstr ""
1856
 
1857
+ #: src/Admin/SettingsPages/GeneralSettings.php:117
1858
  msgid "Disable"
1859
  msgstr ""
1860
 
1861
+ #: src/Admin/SettingsPages/GeneralSettings.php:118
1862
  msgid ""
1863
  "Check this box to disable ajax behaviour(whereby forms do not require page "
1864
  "reload when submitted) in forms."
1865
  msgstr ""
1866
 
1867
+ #: src/Admin/SettingsPages/GeneralSettings.php:123
1868
  msgid "Remove Data on Uninstall?"
1869
  msgstr ""
1870
 
1871
+ #: src/Admin/SettingsPages/GeneralSettings.php:125
1872
  msgid ""
1873
  "Check this box if you would like ProfilePress to completely remove all of "
1874
  "its data when the plugin is deleted."
1875
  msgstr ""
1876
 
1877
+ #: src/Admin/SettingsPages/GeneralSettings.php:136
1878
  msgid "Auto-login after registration"
1879
  msgstr ""
1880
 
1881
+ #: src/Admin/SettingsPages/GeneralSettings.php:137
1882
  msgid "Enable auto-login"
1883
  msgstr ""
1884
 
1885
+ #: src/Admin/SettingsPages/GeneralSettings.php:139
1886
  msgid ""
1887
  "Check this option to automatically login users after successful registration."
1888
  msgstr ""
1889
 
1890
+ #: src/Admin/SettingsPages/GeneralSettings.php:151
1891
  msgid "Email Address and Username (default)"
1892
  msgstr ""
1893
 
1894
+ #: src/Admin/SettingsPages/GeneralSettings.php:152
1895
  msgid "Email Address Only"
1896
  msgstr ""
1897
 
1898
+ #: src/Admin/SettingsPages/GeneralSettings.php:153
1899
  msgid "Username Only"
1900
  msgstr ""
1901
 
1902
+ #: src/Admin/SettingsPages/GeneralSettings.php:156
1903
  msgid "Login with Email or Username"
1904
  msgstr ""
1905
 
1906
+ #: src/Admin/SettingsPages/GeneralSettings.php:157
1907
  msgid ""
1908
  "By default, WordPress allows users to log in using either an email address "
1909
  "or username. This setting allows you to restrict logins to only accept email "
1910
  "addresses or usernames."
1911
  msgstr ""
1912
 
1913
+ #: src/Admin/SettingsPages/GeneralSettings.php:162
1914
  #: src/RegisterActivation/Base.php:167
1915
  msgid "My Account"
1916
  msgstr ""
1917
 
1918
+ #: src/Admin/SettingsPages/GeneralSettings.php:163
1919
  msgid "My Account Settings"
1920
  msgstr ""
1921
 
1922
+ #: src/Admin/SettingsPages/GeneralSettings.php:167
1923
  msgid "Redirect Default Edit Profile"
1924
  msgstr ""
1925
 
1926
+ #: src/Admin/SettingsPages/GeneralSettings.php:168
1927
  #: src/ContentProtection/WPListTable.php:93
1928
  #: src/Functions/custom-settings-api.php:1007
1929
  msgid "Activate"
1930
  msgstr ""
1931
 
1932
+ #: src/Admin/SettingsPages/GeneralSettings.php:171
1933
  msgid ""
1934
  "Redirect <a target=\"_blank\" href=\"%s\">default WordPress profile</a> to "
1935
  "My Account page."
1936
  msgstr ""
1937
 
1938
+ #: src/Admin/SettingsPages/GeneralSettings.php:178
1939
  msgid "Edit Account Endpoint"
1940
  msgstr ""
1941
 
1942
+ #: src/Admin/SettingsPages/GeneralSettings.php:179
1943
  msgid "Endpoint for the \"My Account → Account Details\" page."
1944
  msgstr ""
1945
 
1946
+ #: src/Admin/SettingsPages/GeneralSettings.php:184
1947
  msgid "Change Password Endpoint"
1948
  msgstr ""
1949
 
1950
+ #: src/Admin/SettingsPages/GeneralSettings.php:185
1951
  msgid "Endpoint for the \"My Account → Change Password\" page."
1952
  msgstr ""
1953
 
1954
+ #: src/Admin/SettingsPages/GeneralSettings.php:190
1955
  msgid "Account Details Form"
1956
  msgstr ""
1957
 
1958
+ #: src/Admin/SettingsPages/GeneralSettings.php:191
1959
  msgid ""
1960
  "Do you want to replace the default form in \"My Account → Account Details\" "
1961
  "page? select an Edit Profile form that will replace it."
1962
  msgstr ""
1963
 
1964
+ #: src/Admin/SettingsPages/GeneralSettings.php:195
1965
  msgid "Frontend Profile"
1966
  msgstr ""
1967
 
1968
+ #: src/Admin/SettingsPages/GeneralSettings.php:196
1969
  msgid "Frontend Profile Settings"
1970
  msgstr ""
1971
 
1972
+ #: src/Admin/SettingsPages/GeneralSettings.php:200
1973
  msgid "Page with Profile Shortcode"
1974
  msgstr ""
1975
 
1976
+ #: src/Admin/SettingsPages/GeneralSettings.php:202
1977
  msgid ""
1978
  "Select the page that contains your <a href=\"%s\">Frontend user profile "
1979
  "shortcode</a>."
1980
  msgstr ""
1981
 
1982
+ #: src/Admin/SettingsPages/GeneralSettings.php:207
1983
  msgid "Profile Slug"
1984
  msgstr ""
1985
 
1986
+ #: src/Admin/SettingsPages/GeneralSettings.php:208
1987
  msgid ""
1988
  "Enter your preferred profile URL slug. Default to \"profile\" if empty. If "
1989
  "slug is \"profile\", URL becomes %s where \"john\" is a user's username."
1990
  msgstr ""
1991
 
1992
+ #: src/Admin/SettingsPages/GeneralSettings.php:212
1993
  msgid "Disable Guests from Viewing Profiles"
1994
  msgstr ""
1995
 
1996
+ #: src/Admin/SettingsPages/GeneralSettings.php:213
1997
  msgid ""
1998
  "Enable this option to stop disable guests or non-registered users from "
1999
  "viewing users profiles."
2000
  msgstr ""
2001
 
2002
+ #: src/Admin/SettingsPages/GeneralSettings.php:218
2003
  msgid "Disable Members from Viewing Profiles"
2004
  msgstr ""
2005
 
2006
+ #: src/Admin/SettingsPages/GeneralSettings.php:219
2007
  msgid ""
2008
  "Enable this option to stop members from viewing other users profiles. If "
2009
  "enabled, users can only see their own profile."
2010
  msgstr ""
2011
 
2012
+ #: src/Admin/SettingsPages/GeneralSettings.php:224
2013
  msgid "Comment Author URL to Profile"
2014
  msgstr ""
2015
 
2016
+ #: src/Admin/SettingsPages/GeneralSettings.php:225
2017
+ #: src/Admin/SettingsPages/GeneralSettings.php:232
2018
  msgid "Enable option"
2019
  msgstr ""
2020
 
2021
+ #: src/Admin/SettingsPages/GeneralSettings.php:227
2022
  msgid "Change URL of comment authors to their ProfilePress front-end profile."
2023
  msgstr ""
2024
 
2025
+ #: src/Admin/SettingsPages/GeneralSettings.php:231
2026
  msgid "Authors Page to Profile"
2027
  msgstr ""
2028
 
2029
+ #: src/Admin/SettingsPages/GeneralSettings.php:234
2030
  msgid "Change and redirect authors pages %s to their front-end profiles %s."
2031
  msgstr ""
2032
 
2033
+ #: src/Admin/SettingsPages/GeneralSettings.php:239
2034
  msgid "Redirection"
2035
  msgstr ""
2036
 
2037
+ #: src/Admin/SettingsPages/GeneralSettings.php:240
2038
  msgid "Redirection Settings"
2039
  msgstr ""
2040
 
2041
+ #: src/Admin/SettingsPages/GeneralSettings.php:244
2042
  #: src/Widgets/TabbedWidget.php:214
2043
  msgid "Log out"
2044
  msgstr ""
2045
 
2046
+ #: src/Admin/SettingsPages/GeneralSettings.php:253
 
 
 
 
 
2047
  msgid ""
2048
  "Select the page users will be redirected to after logout. To redirect to a "
2049
  "custom URL instead of a selected page, enter the URL in input field directly "
2050
  "above this description."
2051
  msgstr ""
2052
 
2053
+ #: src/Admin/SettingsPages/GeneralSettings.php:254
2054
+ #: src/Admin/SettingsPages/GeneralSettings.php:264
2055
+ #: src/Admin/SettingsPages/GeneralSettings.php:281
2056
  msgid "Leave the \"custom URL\" field empty to fallback to the selected page."
2057
  msgstr ""
2058
 
2059
+ #: src/Admin/SettingsPages/GeneralSettings.php:263
 
 
 
 
2060
  msgid ""
2061
  "Select the page or custom URL users will be redirected to after login. To "
2062
  "redirect to a custom URL instead of a selected page, enter the URL in input "
2063
  "field directly above this description"
2064
  msgstr ""
2065
 
2066
+ #: src/Admin/SettingsPages/GeneralSettings.php:275
2067
  msgid "Default.."
2068
  msgstr ""
2069
 
2070
+ #: src/Admin/SettingsPages/GeneralSettings.php:280
2071
  msgid ""
2072
  "Select the page or custom URL users will be redirected to after they "
2073
  "successfully reset or change their password. To redirect to a custom URL "
2075
  "description."
2076
  msgstr ""
2077
 
2078
+ #: src/Admin/SettingsPages/GeneralSettings.php:287
2079
  #: src/ContentProtection/WPListTable.php:30
2080
  msgid "Access"
2081
  msgstr ""
2082
 
2083
+ #: src/Admin/SettingsPages/GeneralSettings.php:288
2084
  msgid "Access Settings"
2085
  msgstr ""
2086
 
2087
+ #: src/Admin/SettingsPages/GeneralSettings.php:294
2088
  msgid ""
2089
  "%sNote:%s Access setting takes precedence over %sContent Protection rules%s."
2090
  msgstr ""
2091
 
2092
+ #: src/Admin/SettingsPages/GeneralSettings.php:300
2093
  msgid "Global Site Access"
2094
  msgstr ""
2095
 
2096
+ #: src/Admin/SettingsPages/GeneralSettings.php:302
2097
  msgid "Accessible to Everyone"
2098
  msgstr ""
2099
 
2100
+ #: src/Admin/SettingsPages/GeneralSettings.php:303
2101
  msgid "Accessible to Logged-in Users"
2102
  msgstr ""
2103
 
2104
+ #: src/Admin/SettingsPages/GeneralSettings.php:308
2105
  msgid "Redirect Page"
2106
  msgstr ""
2107
 
2108
+ #: src/Admin/SettingsPages/GeneralSettings.php:310
2109
  msgid ""
2110
  "Select the page or custom URL to redirect users that are not logged in to."
2111
  msgstr ""
2112
 
2113
+ #: src/Admin/SettingsPages/GeneralSettings.php:314
2114
  msgid "Pages to Exclude"
2115
  msgstr ""
2116
 
2117
+ #: src/Admin/SettingsPages/GeneralSettings.php:320
2118
  msgid ""
2119
  "Select the pages to exclude beside the redirect page that will be accessible "
2120
  "by everyone."
2121
  msgstr ""
2122
 
2123
+ #: src/Admin/SettingsPages/GeneralSettings.php:326
2124
  msgid "Accessible Homepage"
2125
  msgstr ""
2126
 
2127
+ #: src/Admin/SettingsPages/GeneralSettings.php:327
2128
  msgid "Check to allow homepage to be accessible by everyone."
2129
  msgstr ""
2130
 
2131
+ #: src/Admin/SettingsPages/GeneralSettings.php:331
2132
  #: src/ContentProtection/Frontend/PostContent.php:62
2133
  msgid "You are unauthorized to view this page."
2134
  msgstr ""
2135
 
2136
+ #: src/Admin/SettingsPages/GeneralSettings.php:332
2137
  msgid "Global Restricted Access Message"
2138
  msgstr ""
2139
 
2140
+ #: src/Admin/SettingsPages/GeneralSettings.php:333
2141
  msgid ""
2142
  "This is the message shown to users that do not have permission to view the "
2143
  "content."
2144
  msgstr ""
2145
 
2146
+ #: src/Admin/SettingsPages/GeneralSettings.php:340
2147
  msgid "BuddyPress"
2148
  msgstr ""
2149
 
2150
+ #: src/Admin/SettingsPages/GeneralSettings.php:341
2151
  msgid "BuddyPress Settings"
2152
  msgstr ""
2153
 
2154
+ #: src/Admin/SettingsPages/GeneralSettings.php:347
2155
+ #: src/Admin/SettingsPages/GeneralSettings.php:354
2156
+ #: src/Admin/SettingsPages/GeneralSettings.php:361
2157
+ #: src/Admin/SettingsPages/GeneralSettings.php:377
2158
  msgid "Check to enable"
2159
  msgstr ""
2160
 
2161
+ #: src/Admin/SettingsPages/GeneralSettings.php:348
2162
  msgid "Check to redirect BuddyPress registration page to your selected %s"
2163
  msgstr ""
2164
 
2165
+ #: src/Admin/SettingsPages/GeneralSettings.php:352
2166
  msgid "Override Avatar"
2167
  msgstr ""
2168
 
2169
+ #: src/Admin/SettingsPages/GeneralSettings.php:355
2170
  msgid ""
2171
  "Check to override BuddyPress users uploaded avatars with that of "
2172
  "ProfilePress."
2173
  msgstr ""
2174
 
2175
+ #: src/Admin/SettingsPages/GeneralSettings.php:360
2176
+ #: src/Admin/SettingsPages/GeneralSettings.php:376
2177
  msgid "Override Profile URL"
2178
  msgstr ""
2179
 
2180
+ #: src/Admin/SettingsPages/GeneralSettings.php:362
2181
  msgid ""
2182
  "Check to change the profile URL of BuddyPress users to ProfilePress front-"
2183
  "end profile."
2184
  msgstr ""
2185
 
2186
+ #: src/Admin/SettingsPages/GeneralSettings.php:370
2187
  msgid "bbPress"
2188
  msgstr ""
2189
 
2190
+ #: src/Admin/SettingsPages/GeneralSettings.php:371
2191
  msgid "bbPress Settings"
2192
  msgstr ""
2193
 
2194
+ #: src/Admin/SettingsPages/GeneralSettings.php:378
2195
  msgid "Check to change bbPress profile URL to ProfilePress front-end profile."
2196
  msgstr ""
2197
 
2472
  "will be redirected to website homepage."
2473
  msgstr ""
2474
 
2475
+ #: src/Classes/AdminNotices.php:84
2476
  msgid ""
2477
  "Hey, I noticed you have been using ProfilePress for at least 7 days now - "
2478
  "that's awesome! Could you please do us a BIG favor and give it a %1$s5-star "
2480
  "motivation - thanks!"
2481
  msgstr ""
2482
 
2483
+ #: src/Classes/AdminNotices.php:88
2484
  msgid "Sure! I'd love to give a review"
2485
  msgstr ""
2486
 
2487
+ #: src/Classes/AdminNotices.php:90
2488
+ msgid "Dismiss Forever"
2489
+ msgstr ""
2490
+
2491
+ #: src/Classes/AdminNotices.php:109
2492
+ msgid "Change Permalink Structure"
2493
  msgstr ""
2494
 
2495
+ #: src/Classes/AdminNotices.php:113
2496
+ msgid ""
2497
+ "Your site permalink structure is currently set to <code>Plain</code>. This "
2498
+ "setting is not compatible with ProfilePress. Change your permalink structure "
2499
+ "to any other setting to avoid issues. We recommend <code>Post name</code>.</"
2500
+ "p><p>%s"
2501
+ msgstr ""
2502
+
2503
+ #: src/Classes/AdminNotices.php:135
2504
  msgid ""
2505
  "Important news! %1$sWP User Avatar%2$s is now %1$sProfilePress%2$s. We added "
2506
  "new features such as member directories, frontend user registration & login "
2508
  "%4$sDismiss Notice%5$s"
2509
  msgstr ""
2510
 
2511
+ #: src/Classes/AdminNotices.php:154
2512
  msgid ""
2513
  "ProfilePress needs to create several pages (User Profiles, My Account, "
2514
  "Registration, Login, Password Reset, Member Directory) to function correctly."
2515
  msgstr ""
2516
 
2517
+ #: src/Classes/AdminNotices.php:157
2518
  msgid "Create Pages"
2519
  msgstr ""
2520
 
2521
+ #: src/Classes/AdminNotices.php:157
2522
  msgid "No Thanks"
2523
  msgstr ""
2524
 
2525
+ #: src/Classes/AdminNotices.php:185
2526
  msgid ""
2527
  "User registration currently disabled. To enable, Go to <a href=\"%1$s"
2528
  "\">Settings -> General</a>, and under Membership, check \"Anyone can register"
2577
  msgid "Form with similar name exist already."
2578
  msgstr ""
2579
 
2580
+ #: src/Classes/AjaxHandler.php:528
2581
  msgid "Security validation failed. Try again"
2582
  msgstr ""
2583
 
3083
  msgid "Protection Rules"
3084
  msgstr ""
3085
 
3086
+ #: src/ContentProtection/SettingsPage.php:102
3087
  msgid "Title cannot be empty."
3088
  msgstr ""
3089
 
3090
+ #: src/ContentProtection/SettingsPage.php:136
3091
  #: src/Themes/DragDrop/AbstractTheme.php:114
3092
  msgid "Changes saved."
3093
  msgstr ""
3094
 
3095
+ #: src/ContentProtection/SettingsPage.php:158
3096
  msgid "Add a Protection Rule"
3097
  msgstr ""
3098
 
3208
  msgstr ""
3209
 
3210
  #. translators: %s: User login.
3211
+ #: src/Functions/GlobalFunctions.php:796
3212
  msgid "Username: %s"
3213
  msgstr ""
3214
 
3215
+ #: src/Functions/GlobalFunctions.php:797
3216
  msgid "To set your password, visit the following address:"
3217
  msgstr ""
3218
 
3219
  #. translators: Login details notification email subject. %s: Site title.
3220
+ #: src/Functions/GlobalFunctions.php:805
3221
  msgid "[%s] Login Details"
3222
  msgstr ""
3223
 
3224
+ #: src/Functions/GlobalFunctions.php:1103
3225
  msgid ""
3226
  "It must be unique for each field, not a reserve text, in lowercase letters "
3227
  "only with an underscore ( _ ) separating words e.g job_title"
3228
  msgstr ""
3229
 
3230
+ #: src/Functions/GlobalFunctions.php:1224
3231
  msgid "%s (WooCommerce Billing Address)"
3232
  msgstr ""
3233
 
3234
+ #: src/Functions/GlobalFunctions.php:1228
3235
  msgid "%s (WooCommerce Shipping Address)"
3236
  msgstr ""
3237
 
3238
+ #: src/Functions/GlobalFunctions.php:1272
3239
  msgid "First and Last Names"
3240
  msgstr ""
3241
 
3242
+ #: src/Functions/GlobalFunctions.php:1273
3243
  msgid "Last and First Names"
3244
  msgstr ""
3245
 
3246
+ #: src/Functions/GlobalFunctions.php:1281
3247
  msgid "Registration Date"
3248
  msgstr ""
3249
 
3250
+ #: src/Functions/GlobalFunctions.php:1398
3251
  msgid "There was an problem while verifying your file."
3252
  msgstr ""
3253
 
3254
+ #: src/Functions/GlobalFunctions.php:1403
3255
  msgid "Sorry, this file extension is not permitted for security reasons."
3256
  msgstr ""
3257
 
3258
+ #: src/Functions/GlobalFunctions.php:1407
3259
  msgid "Sorry, this file type is not permitted for security reasons."
3260
  msgstr ""
3261
 
3262
+ #: src/Functions/GlobalFunctions.php:1411
3263
+ #: src/Functions/GlobalFunctions.php:1415
3264
  msgid "Error: The file you uploaded is not accepted on our website."
3265
  msgstr ""
3266
 
4437
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:814
4438
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:873
4439
  #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:922
4440
+ #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:351
4441
  msgid "Field key is missing"
4442
  msgstr ""
4443
 
4469
  msgid "Delete Cover Image"
4470
  msgstr ""
4471
 
4472
+ #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:114
4473
  msgid "This user has not created any post."
4474
  msgstr ""
4475
 
4476
+ #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:117
4477
  msgid "You have not created any post."
4478
  msgstr ""
4479
 
4480
+ #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:175
4481
  msgid "This user has not made any comment."
4482
  msgstr ""
4483
 
4484
+ #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:178
4485
  msgid "You have not made any comment."
4486
  msgstr ""
4487
 
4488
+ #: src/ShortcodeParser/Builder/FrontendProfileBuilder.php:666
4489
  msgid "No post written yet."
4490
  msgstr ""
4491
 
5442
  msgid "ProfilePress"
5443
  msgstr ""
5444
 
5445
+ #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.1.18) #-#-#-#-#
5446
  #. Plugin URI of the plugin/theme
5447
+ #. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.1.18) #-#-#-#-#
5448
  #. Author URI of the plugin/theme
5449
  msgid "https://profilepress.net"
5450
  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: 5.6.0
7
  Tested up to: 5.8
8
- Stable tag: 3.1.17
9
  License: GPLv2 or later
10
 
11
  Modern membership plugin for user registration, login form, user profile, member directories & content restriction.
@@ -117,18 +117,13 @@ No. You can create and manage your forms, user profiles and member directories w
117
 
118
  == Changelog ==
119
 
120
- = 3.1.17 =
121
- * Added wp_login trigger after login.
122
- * Fixed issue where deleted login page causes wp-admin to 404.
123
- * Fixed: Undefined property: stdClass::$url.
124
-
125
- = 3.1.16 =
126
- * Added compatibility with a lot of 2fa plugins.
127
-
128
- = 3.1.15 =
129
- * Fixed bug with with My Account page not correctly rendering.
130
-
131
- = 3.1.14 =
132
- * Minimum PHP version is now 5.6.0.
133
 
134
  See the [changelog file](https://plugins.svn.wordpress.org/wp-user-avatar/trunk/changelog.txt) for full change log information.
5
  Requires at least: 4.7
6
  Requires PHP: 5.6.0
7
  Tested up to: 5.8
8
+ Stable tag: 3.1.18
9
  License: GPLv2 or later
10
 
11
  Modern membership plugin for user registration, login form, user profile, member directories & content restriction.
117
 
118
  == Changelog ==
119
 
120
+ = 3.1.18 =
121
+ * Added wp_redirect interceptor to prevent 301 redirect during Ajax login.
122
+ * Added filter for frontend user profile post listing.
123
+ * Added notice to switch to seo friendly permalink structure.
124
+ * Fixed bug where media uploader wasn't working in rare cases.
125
+ * Disable screen options where not needed.
126
+ * Remove wp_login action trigger from autologin because it can break ajax signup form.
127
+ * Enhancement: Only set alt in user avatar if it exists.
 
 
 
 
 
128
 
129
  See the [changelog file](https://plugins.svn.wordpress.org/wp-user-avatar/trunk/changelog.txt) for full change log information.
src/Admin/SettingsPages/AbstractSettingsPage.php CHANGED
@@ -142,26 +142,35 @@ abstract class AbstractSettingsPage
142
  <?php
143
  }
144
 
145
- protected function page_dropdown($id, $appends = [], $args = [])
146
  {
 
 
 
 
 
 
 
 
 
 
 
147
  $html = wp_dropdown_pages(
148
- array_replace(
149
- [
150
- 'name' => PPRESS_SETTINGS_DB_OPTION_NAME . "[$id]",
151
- 'show_option_none' => esc_html__('Select...', 'wp-user-avatar'),
152
- 'selected' => ppress_get_setting($id, ''),
153
- 'echo' => false
154
- ],
155
- $args
156
- )
157
  );
158
 
159
  if ( ! empty($appends)) {
160
  $addition = '';
 
 
 
 
 
161
  foreach ($appends as $append) {
162
- $key = $append['key'];
163
- $label = $append['label'];
164
- $addition .= "<option value=\"$key\"" . selected(ppress_get_setting($id), $key, false) . '>' . $label . '</option>';
 
165
  }
166
 
167
  $html = ppress_append_option_to_select($addition, $html);
142
  <?php
143
  }
144
 
145
+ protected function page_dropdown($id, $appends = [], $args = ['skip_append_default_select' => false])
146
  {
147
+ $default_args = [
148
+ 'name' => PPRESS_SETTINGS_DB_OPTION_NAME . "[$id]",
149
+ 'show_option_none' => esc_html__('Select...', 'wp-user-avatar'),
150
+ 'selected' => ppress_get_setting($id, ''),
151
+ 'echo' => false
152
+ ];
153
+
154
+ if ( ! empty($appends)) {
155
+ unset($default_args['show_option_none']);
156
+ }
157
+
158
  $html = wp_dropdown_pages(
159
+ array_replace($default_args, $args)
 
 
 
 
 
 
 
 
160
  );
161
 
162
  if ( ! empty($appends)) {
163
  $addition = '';
164
+
165
+ if (ppress_var($args, 'skip_append_default_select') === false) {
166
+ $addition .= '<option value="">' . esc_html__('Select...', 'wp-user-avatar') . '</option>';
167
+ }
168
+
169
  foreach ($appends as $append) {
170
+ $key = $append['key'];
171
+ $label = $append['label'];
172
+ $disabled_attr = ppress_var($append, 'disabled') === true ? ' disabled' : '';
173
+ $addition .= "<option value=\"$key\"" . selected(ppress_get_setting($id), $key, false) . $disabled_attr . '>' . $label . '</option>';
174
  }
175
 
176
  $html = ppress_append_option_to_select($addition, $html);
src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php CHANGED
@@ -33,10 +33,15 @@ class EmailSettingsPage extends AbstractSettingsPage
33
  public function screen_option()
34
  {
35
  if (isset($_GET['view']) && $_GET['view'] == 'email') {
 
 
36
  $this->email_notification_list_table = new WPListTable($this->email_notifications());
37
  }
38
  }
39
 
 
 
 
40
  public function email_notifications()
41
  {
42
  $site_title = ppress_site_title();
33
  public function screen_option()
34
  {
35
  if (isset($_GET['view']) && $_GET['view'] == 'email') {
36
+ add_filter('screen_options_show_screen', '__return_false');
37
+
38
  $this->email_notification_list_table = new WPListTable($this->email_notifications());
39
  }
40
  }
41
 
42
+ /**
43
+ * @return mixed|void
44
+ */
45
  public function email_notifications()
46
  {
47
  $site_title = ppress_site_title();
src/Admin/SettingsPages/GeneralSettings.php CHANGED
@@ -3,6 +3,7 @@
3
  namespace ProfilePress\Core\Admin\SettingsPages;
4
 
5
  use ProfilePress\Core\Admin\SettingsPages\EmailSettings\EmailSettingsPage;
 
6
  use ProfilePress\Core\Classes\FormRepository;
7
  use ProfilePress\Custom_Settings_Page_Api;
8
 
@@ -61,6 +62,16 @@ class GeneralSettings extends AbstractSettingsPage
61
  return $carry;
62
  }, ['default' => esc_html__('My Account edit profile form (default)', 'wp-user-avatar')]);
63
 
 
 
 
 
 
 
 
 
 
 
64
  $args = [
65
  'global_settings' => apply_filters('ppress_global_settings_page', [
66
  'tab_title' => esc_html__('Global', 'wp-user-avatar'),
@@ -235,7 +246,8 @@ class GeneralSettings extends AbstractSettingsPage
235
  [
236
  ['key' => 'default', 'label' => esc_html__('Select...', 'wp-user-avatar')],
237
  ['key' => 'current_view_page', 'label' => esc_html__('Currently viewed page', 'wp-user-avatar')]
238
- ]
 
239
  ) . $this->custom_text_input('custom_url_log_out'),
240
  'description' => sprintf(
241
  esc_html__('Select the page users will be redirected to after logout. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description.', 'wp-user-avatar') . '%s' .
@@ -246,14 +258,7 @@ class GeneralSettings extends AbstractSettingsPage
246
  'set_login_redirect' => [
247
  'type' => 'custom_field_block',
248
  'label' => esc_html__('Login', 'wp-user-avatar'),
249
- 'data' => $this->page_dropdown(
250
- 'set_login_redirect',
251
- [
252
- ['key' => 'current_page', 'label' => esc_html__('Currently viewed page', 'wp-user-avatar')],
253
- ['key' => 'dashboard', 'label' => esc_html__('WordPress Dashboard', 'wp-user-avatar')]
254
- ]
255
- )
256
- . $this->custom_text_input('custom_url_login_redirect'),
257
  'description' => sprintf(
258
  esc_html__('Select the page or custom URL users will be redirected to after login. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description', 'wp-user-avatar') . '%s' .
259
  esc_html__('Leave the "custom URL" field empty to fallback to the selected page.', 'wp-user-avatar'),
3
  namespace ProfilePress\Core\Admin\SettingsPages;
4
 
5
  use ProfilePress\Core\Admin\SettingsPages\EmailSettings\EmailSettingsPage;
6
+ use ProfilePress\Core\Classes\ExtensionManager;
7
  use ProfilePress\Core\Classes\FormRepository;
8
  use ProfilePress\Custom_Settings_Page_Api;
9
 
62
  return $carry;
63
  }, ['default' => esc_html__('My Account edit profile form (default)', 'wp-user-avatar')]);
64
 
65
+ $login_redirect_page_dropdown_args = [
66
+ ['key' => 'current_page', 'label' => esc_html__('Currently viewed page', 'wp-user-avatar')],
67
+ ['key' => '', 'label' => esc_html__('Previous/Referrer page (Pro feature)', 'wp-user-avatar'), 'disabled'=>true],
68
+ ['key' => 'dashboard', 'label' => esc_html__('WordPress Dashboard', 'wp-user-avatar')]
69
+ ];
70
+
71
+ if (ExtensionManager::is_premium()) {
72
+ $login_redirect_page_dropdown_args[1] = ['key' => 'previous_page', 'label' => esc_html__('Previous/Referrer page', 'wp-user-avatar')];
73
+ }
74
+
75
  $args = [
76
  'global_settings' => apply_filters('ppress_global_settings_page', [
77
  'tab_title' => esc_html__('Global', 'wp-user-avatar'),
246
  [
247
  ['key' => 'default', 'label' => esc_html__('Select...', 'wp-user-avatar')],
248
  ['key' => 'current_view_page', 'label' => esc_html__('Currently viewed page', 'wp-user-avatar')]
249
+ ],
250
+ ['skip_append_default_select' => true]
251
  ) . $this->custom_text_input('custom_url_log_out'),
252
  'description' => sprintf(
253
  esc_html__('Select the page users will be redirected to after logout. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description.', 'wp-user-avatar') . '%s' .
258
  'set_login_redirect' => [
259
  'type' => 'custom_field_block',
260
  'label' => esc_html__('Login', 'wp-user-avatar'),
261
+ 'data' => $this->page_dropdown('set_login_redirect', $login_redirect_page_dropdown_args) . $this->custom_text_input('custom_url_login_redirect'),
 
 
 
 
 
 
 
262
  'description' => sprintf(
263
  esc_html__('Select the page or custom URL users will be redirected to after login. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description', 'wp-user-avatar') . '%s' .
264
  esc_html__('Leave the "custom URL" field empty to fallback to the selected page.', 'wp-user-avatar'),
src/Classes/AdminNotices.php CHANGED
@@ -30,6 +30,8 @@ class AdminNotices
30
  {
31
  do_action('ppress_admin_notices');
32
 
 
 
33
  $this->registration_disabled_notice();
34
 
35
  $this->create_plugin_pages();
@@ -85,7 +87,7 @@ class AdminNotices
85
  );
86
  $label = __('Sure! I\'d love to give a review', 'wp-user-avatar');
87
 
88
- $dismiss_label = __('Dimiss Forever', 'wp-user-avatar');
89
 
90
  $notice .= "<div style=\"margin:10px 0 0;\"><a href=\"$review_url\" target='_blank' class=\"button-primary\">$label</a></div>";
91
  $notice .= "<div style=\"margin:10px 0 0;\"><a href=\"$dismiss_url\">$dismiss_label</a></div>";
@@ -95,6 +97,29 @@ class AdminNotices
95
  echo '</div>';
96
  }
97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  /**
99
  * Let user avatar plugin users know it is now ProfilePress
100
  */
30
  {
31
  do_action('ppress_admin_notices');
32
 
33
+ $this->seo_friendly_permalink_not_set();
34
+
35
  $this->registration_disabled_notice();
36
 
37
  $this->create_plugin_pages();
87
  );
88
  $label = __('Sure! I\'d love to give a review', 'wp-user-avatar');
89
 
90
+ $dismiss_label = __('Dismiss Forever', 'wp-user-avatar');
91
 
92
  $notice .= "<div style=\"margin:10px 0 0;\"><a href=\"$review_url\" target='_blank' class=\"button-primary\">$label</a></div>";
93
  $notice .= "<div style=\"margin:10px 0 0;\"><a href=\"$dismiss_url\">$dismiss_label</a></div>";
97
  echo '</div>';
98
  }
99
 
100
+ public function seo_friendly_permalink_not_set()
101
+ {
102
+ if ( ! PAnD::is_admin_notice_active('ppress_seo_friendly_permalink_not_set-2')) return;
103
+
104
+ if (is_admin() && current_user_can('administrator') && ! get_option('permalink_structure')) {
105
+
106
+ $change_permalink_button = sprintf(
107
+ '<a class="button" href="%s">%s</a>',
108
+ admin_url('options-permalink.php'),
109
+ __('Change Permalink Structure', 'wp-user-avatar')
110
+ );
111
+
112
+ $notice = sprintf(
113
+ __("Your site permalink structure is currently set to <code>Plain</code>. This setting is not compatible with ProfilePress. Change your permalink structure to any other setting to avoid issues. We recommend <code>Post name</code>.</p><p>%s", 'wp-user-avatar'),
114
+ $change_permalink_button
115
+ );
116
+
117
+ echo '<div data-dismissible="ppress_seo_friendly_permalink_not_set-2" class="update-nag notice notice-warning is-dismissible">';
118
+ echo "<p>$notice</p>";
119
+ echo '</div>';
120
+ }
121
+ }
122
+
123
  /**
124
  * Let user avatar plugin users know it is now ProfilePress
125
  */
src/Classes/AjaxHandler.php CHANGED
@@ -373,11 +373,12 @@ class AjaxHandler
373
  wp_die();
374
  }
375
 
376
- function ajax_login_func()
377
  {
378
  if ( ! defined('W3GUY_LOCAL') && is_user_logged_in()) wp_send_json_error();
379
 
380
  if (isset($_REQUEST['data'])) {
 
381
  parse_str($_REQUEST['data'], $data); //tabbed-login-name
382
 
383
  // populate global $_POST variable.
373
  wp_die();
374
  }
375
 
376
+ public function ajax_login_func()
377
  {
378
  if ( ! defined('W3GUY_LOCAL') && is_user_logged_in()) wp_send_json_error();
379
 
380
  if (isset($_REQUEST['data'])) {
381
+
382
  parse_str($_REQUEST['data'], $data); //tabbed-login-name
383
 
384
  // populate global $_POST variable.
src/Classes/Autologin.php CHANGED
@@ -41,9 +41,7 @@ class Autologin
41
  wp_set_auth_cookie($user_id, true, $secure_cookie);
42
  wp_set_current_user($user_id);
43
 
44
- $user = get_user_by('id', $user_id);
45
-
46
- do_action('wp_login', $user->user_login, $user);
47
  }
48
 
49
  do_action('ppress_before_auto_login_redirect', $login_id, $user_id);
41
  wp_set_auth_cookie($user_id, true, $secure_cookie);
42
  wp_set_current_user($user_id);
43
 
44
+ get_user_by('id', $user_id);
 
 
45
  }
46
 
47
  do_action('ppress_before_auto_login_redirect', $login_id, $user_id);
src/Classes/LoginAuth.php CHANGED
@@ -11,8 +11,11 @@ use WP_Error;
11
  */
12
  class LoginAuth
13
  {
 
 
14
  /**
15
  * Called to validate login credentials
 
16
  * @return string
17
  */
18
  public static function is_ajax()
@@ -29,7 +32,7 @@ class LoginAuth
29
  * @param null|int $login_form_id
30
  * @param string $redirect
31
  *
32
- * @return null|string
33
  */
34
  public static function login_auth($username, $password, $remember_login = 'true', $login_form_id = 0, $redirect = '')
35
  {
@@ -70,12 +73,47 @@ class LoginAuth
70
  $secure_cookie = true;
71
  }
72
 
 
 
 
 
 
 
 
 
73
  $user = wp_signon($creds, $secure_cookie);
74
 
75
  if (is_wp_error($user) && ($user->get_error_code())) {
76
  return $user;
77
  }
78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  do_action('ppress_before_login_redirect', $username, $password, $login_form_id);
80
 
81
  // culled from wp-login.php file.
@@ -94,13 +132,22 @@ class LoginAuth
94
 
95
  /** Setup a custom location of the builder */
96
  $login_redirection = wp_validate_redirect(
97
- esc_url_raw(
98
- apply_filters('ppress_login_redirect', $login_redirection, $login_form_id, $user)
99
- )
100
  );
101
 
 
 
 
 
 
 
 
 
 
102
  // if ajax, return the url to redirect to
103
- if (self::is_ajax()) return $login_redirection;
 
 
104
 
105
  wp_safe_redirect($login_redirection);
106
  exit;
11
  */
12
  class LoginAuth
13
  {
14
+ private static $redirect, $secure_cookie, $user, $username, $password, $login_form_id;
15
+
16
  /**
17
  * Called to validate login credentials
18
+ *
19
  * @return string
20
  */
21
  public static function is_ajax()
32
  * @param null|int $login_form_id
33
  * @param string $redirect
34
  *
35
+ * @return mixed|string|void|WP_Error|\WP_User
36
  */
37
  public static function login_auth($username, $password, $remember_login = 'true', $login_form_id = 0, $redirect = '')
38
  {
73
  $secure_cookie = true;
74
  }
75
 
76
+ add_filter('wp_redirect', [__CLASS__, 'wp_redirect_intercept'], 999999999, 2);
77
+
78
+ self::$redirect = $redirect;
79
+ self::$secure_cookie = $secure_cookie;
80
+ self::$username = $username;
81
+ self::$password = $password;
82
+ self::$login_form_id = $login_form_id;
83
+
84
  $user = wp_signon($creds, $secure_cookie);
85
 
86
  if (is_wp_error($user) && ($user->get_error_code())) {
87
  return $user;
88
  }
89
 
90
+ self::$user = $user;
91
+
92
+ $login_redirection = self::after_do_login();
93
+
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
+ }
100
+
101
+ public static function after_do_login()
102
+ {
103
+ $redirect = self::$redirect;
104
+ $secure_cookie = self::$secure_cookie;
105
+ $user = self::$user;
106
+ $username = self::$username;
107
+ $password = self::$password;
108
+ $login_form_id = self::$login_form_id;
109
+
110
+ if ( ! self::$user) {
111
+ $user = get_user_by('login', $username);
112
+ if ( ! $user) {
113
+ $user = get_user_by('email', $username);
114
+ }
115
+ }
116
+
117
  do_action('ppress_before_login_redirect', $username, $password, $login_form_id);
118
 
119
  // culled from wp-login.php file.
132
 
133
  /** Setup a custom location of the builder */
134
  $login_redirection = wp_validate_redirect(
135
+ apply_filters('ppress_login_redirect', $login_redirection, $login_form_id, $user)
 
 
136
  );
137
 
138
+ remove_filter('wp_redirect', [__CLASS__, 'wp_redirect_intercept'], 999999999);
139
+
140
+ return $login_redirection;
141
+ }
142
+
143
+ public static function wp_redirect_intercept()
144
+ {
145
+ $login_redirection = self::after_do_login();
146
+
147
  // if ajax, return the url to redirect to
148
+ if (self::is_ajax()) {
149
+ wp_send_json(['success' => true, 'redirect' => $login_redirection]);
150
+ }
151
 
152
  wp_safe_redirect($login_redirection);
153
  exit;
src/Classes/PPRESS_Session.php CHANGED
@@ -16,29 +16,10 @@ class PPRESS_Session
16
  * Holds our session data
17
  *
18
  * @var array
19
- * @access private
20
  *
21
  */
22
  private $session;
23
 
24
- /**
25
- * Whether to use PHP $_SESSION or WP_Session
26
- *
27
- * @var bool
28
- * @access private
29
- *
30
- */
31
- private $use_php_sessions = false;
32
-
33
- /**
34
- * Session index prefix
35
- *
36
- * @var string
37
- * @access private
38
- * @since 2.3
39
- */
40
- private $prefix = '';
41
-
42
  /**
43
  * Get things started
44
  *
@@ -47,59 +28,38 @@ class PPRESS_Session
47
  */
48
  public function __construct()
49
  {
50
- $this->use_php_sessions = $this->use_php_sessions();
51
-
52
- if ($this->use_php_sessions) {
53
-
54
- if (is_multisite()) {
55
- $this->prefix = '_' . get_current_blog_id();
56
- }
57
-
58
- // Use PHP SESSION (must be enabled via the PPWP_USE_PHP_SESSIONS constant)
59
- add_action('init', array($this, 'maybe_start_session'), -2);
60
-
61
- } else {
62
-
63
- if ( ! $this->should_start_session()) {
64
- return;
65
- }
66
-
67
- // Use WP_Session (default)
68
 
69
- if ( ! defined('WP_SESSION_COOKIE')) {
70
- define('WP_SESSION_COOKIE', 'ppwp_wp_session');
71
- }
72
 
73
- if ( ! class_exists('Recursive_ArrayAccess')) {
74
- require_once PROFILEPRESS_SRC . 'lib/wp_session/class-recursive-arrayaccess.php';
75
- }
76
 
77
- if ( ! class_exists('WP_Session')) {
78
- require_once PROFILEPRESS_SRC . 'lib/wp_session/class-wp-session.php';
79
- require_once PROFILEPRESS_SRC . 'lib/wp_session/wp-session.php';
80
- }
81
  }
82
 
83
- if (empty($this->session) && ! $this->use_php_sessions) {
84
- add_action('plugins_loaded', array($this, 'init'), -1);
85
- } else {
86
- add_action('init', array($this, 'init'), -1);
87
  }
 
 
 
 
88
  }
89
 
90
  /**
91
  * Setup the WP_Session instance
92
  *
93
- *
94
- * @return void
95
  */
96
  public function init()
97
  {
98
- if ($this->use_php_sessions) {
99
- $this->session = isset($_SESSION['ppwp' . $this->prefix]) && is_array($_SESSION['ppwp' . $this->prefix]) ? $_SESSION['ppwp' . $this->prefix] : array();
100
- } else {
101
- $this->session = WP_Session::get_instance();
102
- }
103
 
104
  return $this->session;
105
  }
@@ -168,47 +128,13 @@ class PPRESS_Session
168
  $this->session[$key] = esc_attr($value);
169
  }
170
 
171
- if ($this->use_php_sessions) {
172
-
173
- $_SESSION['ppwp' . $this->prefix] = $this->session;
174
- }
175
-
176
  return $this->session[$key];
177
  }
178
 
179
- /**
180
- * Starts a new session if one hasn't started yet.
181
- *
182
- * @return boolean
183
- *
184
- * Checks to see if the server supports PHP sessions
185
- *
186
- * @return boolean $ret True if we are using PHP sessions, false otherwise
187
- * @author Daniel J Griffiths
188
- * @since 2.1
189
- */
190
- public function use_php_sessions()
191
- {
192
- $ret = false;
193
-
194
- // Attempt to detect if the server supports PHP sessions
195
- if (function_exists('session_start')) {
196
-
197
- $this->set('ppwp_use_php_sessions', 1);
198
-
199
- if ($this->get('ppwp_use_php_sessions')) {
200
- $ret = true;
201
- }
202
- }
203
-
204
- return $ret;
205
- }
206
-
207
  /**
208
  * Determines if we should start sessions
209
  *
210
  * @return bool
211
- * @since 2.5.11
212
  */
213
  public function should_start_session()
214
  {
@@ -248,18 +174,17 @@ class PPRESS_Session
248
  * These are the URIs where we never start sessions
249
  *
250
  * @return array
251
- * @since 2.5.11
252
  */
253
  public function get_blacklist()
254
  {
255
- $blacklist = apply_filters('ppwp_session_start_uri_blacklist', array(
256
  'feed',
257
  'feed/rss',
258
  'feed/rss2',
259
  'feed/rdf',
260
  'feed/atom',
261
  'comments/feed'
262
- ));
263
 
264
  // Look to see if WordPress is in a sub folder or this is a network site that uses sub folders
265
  $folder = str_replace(network_home_url(), '', get_site_url());
@@ -273,20 +198,6 @@ class PPRESS_Session
273
  return $blacklist;
274
  }
275
 
276
- /**
277
- * Starts a new session if one hasn't started yet.
278
- */
279
- public function maybe_start_session()
280
- {
281
- if ( ! $this->should_start_session()) {
282
- return;
283
- }
284
-
285
- if ( ! session_id() && ! headers_sent()) {
286
- session_start();
287
- }
288
- }
289
-
290
  public static function get_instance()
291
  {
292
  static $instance = null;
16
  * Holds our session data
17
  *
18
  * @var array
 
19
  *
20
  */
21
  private $session;
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  /**
24
  * Get things started
25
  *
28
  */
29
  public function __construct()
30
  {
31
+ if ( ! $this->should_start_session()) {
32
+ return;
33
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
+ // Use WP_Session (default)
 
 
36
 
37
+ if ( ! defined('WP_SESSION_COOKIE')) {
38
+ define('WP_SESSION_COOKIE', 'ppwp_wp_session');
39
+ }
40
 
41
+ if ( ! class_exists('Recursive_ArrayAccess')) {
42
+ require_once PROFILEPRESS_SRC . 'lib/wp_session/class-recursive-arrayaccess.php';
 
 
43
  }
44
 
45
+ if ( ! class_exists('WP_Session')) {
46
+ require_once PROFILEPRESS_SRC . 'lib/wp_session/class-wp-session.php';
47
+ require_once PROFILEPRESS_SRC . 'lib/wp_session/wp-session.php';
 
48
  }
49
+
50
+ $hook = (empty($this->session)) ? 'plugins_loaded' : 'init';
51
+
52
+ add_action($hook, [$this, 'init'], -1);
53
  }
54
 
55
  /**
56
  * Setup the WP_Session instance
57
  *
58
+ * @return mixed
 
59
  */
60
  public function init()
61
  {
62
+ $this->session = WP_Session::get_instance();
 
 
 
 
63
 
64
  return $this->session;
65
  }
128
  $this->session[$key] = esc_attr($value);
129
  }
130
 
 
 
 
 
 
131
  return $this->session[$key];
132
  }
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  /**
135
  * Determines if we should start sessions
136
  *
137
  * @return bool
 
138
  */
139
  public function should_start_session()
140
  {
174
  * These are the URIs where we never start sessions
175
  *
176
  * @return array
 
177
  */
178
  public function get_blacklist()
179
  {
180
+ $blacklist = array(
181
  'feed',
182
  'feed/rss',
183
  'feed/rss2',
184
  'feed/rdf',
185
  'feed/atom',
186
  'comments/feed'
187
+ );
188
 
189
  // Look to see if WordPress is in a sub folder or this is a network site that uses sub folders
190
  $folder = str_replace(network_home_url(), '', get_site_url());
198
  return $blacklist;
199
  }
200
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  public static function get_instance()
202
  {
203
  static $instance = null;
src/Classes/UserAvatar.php CHANGED
@@ -22,7 +22,7 @@ class UserAvatar
22
  if ($wpua_disable_gravatar == '1') {
23
  $args['url'] = $wpua_functions->wpua_get_default_avatar_url(ppress_var($args, 'size'));
24
  } else {
25
-
26
  $has_valid_url = $wpua_functions->wpua_has_gravatar($id_or_email);
27
 
28
  if ( ! $has_valid_url) {
@@ -149,7 +149,9 @@ class UserAvatar
149
 
150
  $avatar_url = get_avatar_url($id_or_email, ['size' => $size]);
151
 
152
- return "<img data-del=\"avatar\" alt='{$alt}' src='{$avatar_url}' class='avatar pp-user-avatar avatar-{$size} photo {$class}' height='{$size}' width='{$size}'$css_id/>";
 
 
153
  }
154
 
155
  /**
22
  if ($wpua_disable_gravatar == '1') {
23
  $args['url'] = $wpua_functions->wpua_get_default_avatar_url(ppress_var($args, 'size'));
24
  } else {
25
+
26
  $has_valid_url = $wpua_functions->wpua_has_gravatar($id_or_email);
27
 
28
  if ( ! $has_valid_url) {
149
 
150
  $avatar_url = get_avatar_url($id_or_email, ['size' => $size]);
151
 
152
+ $alt_attr = ! empty($alt) ? " alt=\"{$alt}\"" : '';
153
+
154
+ return "<img data-del=\"avatar\"" . $alt_attr . " src='{$avatar_url}' class='avatar pp-user-avatar avatar-{$size} photo {$class}' height='{$size}' width='{$size}'$css_id/>";
155
  }
156
 
157
  /**
src/ContentProtection/SettingsPage.php CHANGED
@@ -65,6 +65,8 @@ class SettingsPage extends AbstractSettingsPage
65
 
66
  add_screen_option('per_page', $args);
67
 
 
 
68
  $this->myListTable = new WPListTable();
69
  }
70
 
65
 
66
  add_screen_option('per_page', $args);
67
 
68
+ add_filter('screen_options_show_screen', '__return_false');
69
+
70
  $this->myListTable = new WPListTable();
71
  }
72
 
src/Functions/GlobalFunctions.php CHANGED
@@ -218,18 +218,21 @@ function ppress_login_redirect()
218
  } else {
219
  $login_redirect = ppress_get_setting('set_login_redirect');
220
  $custom_url_login_redirect = ppress_get_setting('custom_url_login_redirect');
 
221
 
222
  if ( ! empty($custom_url_login_redirect)) {
223
  $redirect = $custom_url_login_redirect;
224
  } elseif ($login_redirect == 'dashboard') {
225
  $redirect = network_site_url('/wp-admin');
 
 
226
  } elseif ('current_page' == $login_redirect) {
227
  // in ajax mode, pp_current_url is set so we can do client-side redirection to current page after login.
228
  // no way to get current url in social login hence, look it up from $_GET['pp_current_url']
229
  if ( ! empty($_GET['pp_current_url'])) {
230
  $redirect = rawurldecode($_GET['pp_current_url']);
231
- } elseif (isset($_POST['pp_current_url'])) {
232
- $redirect = $_POST['pp_current_url'];
233
  } else {
234
  $redirect = ppress_get_current_url_raw();
235
  }
218
  } else {
219
  $login_redirect = ppress_get_setting('set_login_redirect');
220
  $custom_url_login_redirect = ppress_get_setting('custom_url_login_redirect');
221
+ $referrer_url = ppress_var($_POST, 'login_referrer_page', ppress_var($_POST, 'signup_referrer_page'));
222
 
223
  if ( ! empty($custom_url_login_redirect)) {
224
  $redirect = $custom_url_login_redirect;
225
  } elseif ($login_redirect == 'dashboard') {
226
  $redirect = network_site_url('/wp-admin');
227
+ } elseif ($login_redirect == 'previous_page' && ! empty($referrer_url)) {
228
+ $redirect = $referrer_url;
229
  } elseif ('current_page' == $login_redirect) {
230
  // in ajax mode, pp_current_url is set so we can do client-side redirection to current page after login.
231
  // no way to get current url in social login hence, look it up from $_GET['pp_current_url']
232
  if ( ! empty($_GET['pp_current_url'])) {
233
  $redirect = rawurldecode($_GET['pp_current_url']);
234
+ } elseif ( ! empty($_POST['pp_current_url'])) {
235
+ $redirect = rawurldecode($_POST['pp_current_url']);
236
  } else {
237
  $redirect = ppress_get_current_url_raw();
238
  }
src/ShortcodeParser/Builder/FrontendProfileBuilder.php CHANGED
@@ -88,11 +88,13 @@ class FrontendProfileBuilder
88
 
89
  if ($output === false) {
90
 
91
- $posts = get_posts(array(
92
- 'author' => $user_id,
93
- 'posts_per_page' => $limit,
94
- 'offset' => 0
95
- ));
 
 
96
 
97
  $output = '';
98
 
@@ -106,7 +108,7 @@ class FrontendProfileBuilder
106
 
107
  $output .= "</ul>";
108
 
109
- set_transient($cache_key, $output, HOUR_IN_SECONDS);
110
  } else {
111
 
112
  $note = esc_html__('This user has not created any post.', 'wp-user-avatar');
88
 
89
  if ($output === false) {
90
 
91
+ $posts = get_posts(
92
+ apply_filters('ppress_frontend_profile_author_post_list_args', [
93
+ 'author' => $user_id,
94
+ 'posts_per_page' => $limit,
95
+ 'offset' => 0
96
+ ], $user_id, $attributes)
97
+ );
98
 
99
  $output = '';
100
 
108
 
109
  $output .= "</ul>";
110
 
111
+ set_transient($cache_key, $output, MINUTE_IN_SECONDS);
112
  } else {
113
 
114
  $note = esc_html__('This user has not created any post.', 'wp-user-avatar');
src/ShortcodeParser/Builder/GlobalShortcodes.php CHANGED
@@ -79,7 +79,7 @@ class GlobalShortcodes
79
  {
80
  $tag = '<form method="post" data-pp-form-submit="login">';
81
  $tag .= self::melange_hidden_fields();
82
- $tag .= '<input type="hidden" name="pp_current_url" value="' . ppress_get_current_url_raw() . '">';
83
  $tag .= do_shortcode($content);
84
  $tag .= '</form>';
85
 
79
  {
80
  $tag = '<form method="post" data-pp-form-submit="login">';
81
  $tag .= self::melange_hidden_fields();
82
+ $tag .= '<input type="hidden" name="pp_current_url" value="' . esc_attr(ppress_get_current_url_raw()) . '">';
83
  $tag .= do_shortcode($content);
84
  $tag .= '</form>';
85
 
src/ShortcodeParser/RegistrationFormTag.php CHANGED
@@ -98,7 +98,7 @@ class RegistrationFormTag extends FormProcessor
98
  $registration_structure .= "<input type='hidden' name='signup_no_login_redirect' value='$no_login_redirect'>";
99
  }
100
 
101
- $registration_structure .= '<input type="hidden" name="pp_current_url" value="' . ppress_get_current_url_query_string() . '">';
102
  $registration_structure .= "<input type='hidden' name='signup_form_id' value='$id'>";
103
  $registration_structure .= sprintf("<input type='hidden' name='signup_referrer_page' value='%s'>", ! empty($referrer_url) ? $referrer_url : '');
104
 
98
  $registration_structure .= "<input type='hidden' name='signup_no_login_redirect' value='$no_login_redirect'>";
99
  }
100
 
101
+ $registration_structure .= '<input type="hidden" name="pp_current_url" value="' . esc_attr(ppress_get_current_url_query_string()) . '">';
102
  $registration_structure .= "<input type='hidden' name='signup_form_id' value='$id'>";
103
  $registration_structure .= sprintf("<input type='hidden' name='signup_referrer_page' value='%s'>", ! empty($referrer_url) ? $referrer_url : '');
104
 
src/lib/wp_session/class-wp-session.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * WordPress session managment.
4
  *
5
  * Standardizes WordPress session data using database-backed options for storage.
6
  * for storing user session information.
@@ -103,7 +103,6 @@ final class WP_Session extends Recursive_ArrayAccess implements Iterator, Counta
103
  $this->read_data();
104
 
105
  $this->set_cookie();
106
-
107
  }
108
 
109
  /**
1
  <?php
2
  /**
3
+ * WordPress session management.
4
  *
5
  * Standardizes WordPress session data using database-backed options for storage.
6
  * for storing user session information.
103
  $this->read_data();
104
 
105
  $this->set_cookie();
 
106
  }
107
 
108
  /**
src/lib/wp_session/wp-session.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * WordPress session managment.
4
  *
5
  * Standardizes WordPress session data and uses either database transients or in-memory caching
6
  * for storing user session information.
1
  <?php
2
  /**
3
+ * WordPress session management.
4
  *
5
  * Standardizes WordPress session data and uses either database transients or in-memory caching
6
  * for storing user session information.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit8d14ecd6b8e7a572e9e1dfadf289bfdc::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitd54b0066061d7835b1d1aa65eda9b8ab::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit8d14ecd6b8e7a572e9e1dfadf289bfdc
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit8d14ecd6b8e7a572e9e1dfadf289bfdc
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit8d14ecd6b8e7a572e9e1dfadf289bfdc', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit8d14ecd6b8e7a572e9e1dfadf289bfdc', '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\ComposerStaticInit8d14ecd6b8e7a572e9e1dfadf289bfdc::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit8d14ecd6b8e7a572e9e1dfadf289bfdc
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInit8d14ecd6b8e7a572e9e1dfadf289bfdc::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequire8d14ecd6b8e7a572e9e1dfadf289bfdc($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequire8d14ecd6b8e7a572e9e1dfadf289bfdc($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 ComposerAutoloaderInitd54b0066061d7835b1d1aa65eda9b8ab
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInitd54b0066061d7835b1d1aa65eda9b8ab', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInitd54b0066061d7835b1d1aa65eda9b8ab', '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\ComposerStaticInitd54b0066061d7835b1d1aa65eda9b8ab::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\ComposerStaticInitd54b0066061d7835b1d1aa65eda9b8ab::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequired54b0066061d7835b1d1aa65eda9b8ab($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequired54b0066061d7835b1d1aa65eda9b8ab($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 ComposerStaticInit8d14ecd6b8e7a572e9e1dfadf289bfdc
8
  {
9
  public static $files = array (
10
  'fda73876e8be17735f680f484cec1679' => __DIR__ . '/../..' . '/src/Functions/custom-settings-api.php',
@@ -286,9 +286,9 @@ class ComposerStaticInit8d14ecd6b8e7a572e9e1dfadf289bfdc
286
  public static function getInitializer(ClassLoader $loader)
287
  {
288
  return \Closure::bind(function () use ($loader) {
289
- $loader->prefixLengthsPsr4 = ComposerStaticInit8d14ecd6b8e7a572e9e1dfadf289bfdc::$prefixLengthsPsr4;
290
- $loader->prefixDirsPsr4 = ComposerStaticInit8d14ecd6b8e7a572e9e1dfadf289bfdc::$prefixDirsPsr4;
291
- $loader->classMap = ComposerStaticInit8d14ecd6b8e7a572e9e1dfadf289bfdc::$classMap;
292
 
293
  }, null, ClassLoader::class);
294
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitd54b0066061d7835b1d1aa65eda9b8ab
8
  {
9
  public static $files = array (
10
  'fda73876e8be17735f680f484cec1679' => __DIR__ . '/../..' . '/src/Functions/custom-settings-api.php',
286
  public static function getInitializer(ClassLoader $loader)
287
  {
288
  return \Closure::bind(function () use ($loader) {
289
+ $loader->prefixLengthsPsr4 = ComposerStaticInitd54b0066061d7835b1d1aa65eda9b8ab::$prefixLengthsPsr4;
290
+ $loader->prefixDirsPsr4 = ComposerStaticInitd54b0066061d7835b1d1aa65eda9b8ab::$prefixDirsPsr4;
291
+ $loader->classMap = ComposerStaticInitd54b0066061d7835b1d1aa65eda9b8ab::$classMap;
292
 
293
  }, null, ClassLoader::class);
294
  }
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '6af98675d01aa93baa3cbf17d70245e1b2af4f42',
9
  'name' => '__root__',
10
  'dev' => false,
11
  ),
@@ -16,7 +16,7 @@
16
  'type' => 'library',
17
  'install_path' => __DIR__ . '/../../',
18
  'aliases' => array(),
19
- 'reference' => '6af98675d01aa93baa3cbf17d70245e1b2af4f42',
20
  'dev_requirement' => false,
21
  ),
22
  'collizo4sky/persist-admin-notices-dismissal' => array(
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '3c45f97b79493323cd39df5ee1e0308c057cb562',
9
  'name' => '__root__',
10
  'dev' => false,
11
  ),
16
  'type' => 'library',
17
  'install_path' => __DIR__ . '/../../',
18
  'aliases' => array(),
19
+ 'reference' => '3c45f97b79493323cd39df5ee1e0308c057cb562',
20
  'dev_requirement' => false,
21
  ),
22
  'collizo4sky/persist-admin-notices-dismissal' => 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.1.17
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.1.17');
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.18
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');
18
 
19
  require __DIR__ . '/vendor/autoload.php';
20