Version Description
- 14/09/2020
- Fix - Conditional logic compatibility with WordPress 5.5
Download this release
Release Info
Developer | wpeverestdev |
Plugin | User Registration – Custom Registration Form, Login Form And User Profile For WordPress |
Version | 1.8.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.7 to 1.8.7.1
- includes/class-ur-emailer.php +0 -1
- languages/user-registration.pot +14 -14
- readme.txt +4 -1
- templates/form-registration.php +4 -3
- user-registration.php +2 -2
includes/class-ur-emailer.php
CHANGED
@@ -213,7 +213,6 @@ class UR_Emailer {
|
|
213 |
// Check if value contains array.
|
214 |
// @codingStandardsIgnoreStart
|
215 |
$value = ur_clean( isset( $single_field[ $key ] ) ? $single_field[ $key ] : '' );
|
216 |
-
|
217 |
if ( isset( $single_field[ $key ] ) && is_array( $single_field[ $key ] ) ) {
|
218 |
$value = implode( ',', $single_field[ $key ] );
|
219 |
}
|
213 |
// Check if value contains array.
|
214 |
// @codingStandardsIgnoreStart
|
215 |
$value = ur_clean( isset( $single_field[ $key ] ) ? $single_field[ $key ] : '' );
|
|
|
216 |
if ( isset( $single_field[ $key ] ) && is_array( $single_field[ $key ] ) ) {
|
217 |
$value = implode( ',', $single_field[ $key ] );
|
218 |
}
|
languages/user-registration.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the User Registration plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: User Registration 1.8.7\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/user-registration\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2020-09-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: user-registration\n"
|
@@ -1391,7 +1391,7 @@ msgid "The email subject you want to customize."
|
|
1391 |
msgstr ""
|
1392 |
|
1393 |
#: includes/admin/settings/emails/class-ur-settings-admin-email.php:69
|
1394 |
-
#: includes/class-ur-emailer.php:
|
1395 |
msgid "A New User Registered"
|
1396 |
msgstr ""
|
1397 |
|
@@ -1447,7 +1447,7 @@ msgid "Enable this email sent to user notifying the registration is awaiting adm
|
|
1447 |
msgstr ""
|
1448 |
|
1449 |
#: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:60
|
1450 |
-
#: includes/class-ur-emailer.php:
|
1451 |
msgid "Thank you for registration on {{blog_info}}"
|
1452 |
msgstr ""
|
1453 |
|
@@ -1472,7 +1472,7 @@ msgid "Email sent to the user with a verification link when email confirmation t
|
|
1472 |
msgstr ""
|
1473 |
|
1474 |
#: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:52
|
1475 |
-
#: includes/class-ur-emailer.php:
|
1476 |
msgid "Please confirm your registration on {{blog_info}}"
|
1477 |
msgstr ""
|
1478 |
|
@@ -1501,7 +1501,7 @@ msgid "Enable this email sent to the admin when a user changed profile informati
|
|
1501 |
msgstr ""
|
1502 |
|
1503 |
#: includes/admin/settings/emails/class-ur-settings-profile-details-changed-email.php:70
|
1504 |
-
#: includes/class-ur-emailer.php:
|
1505 |
msgid "Profile Details Changed Email: {{blog_info}}"
|
1506 |
msgstr ""
|
1507 |
|
@@ -1531,7 +1531,7 @@ msgid "Enable this email sent to the user notifying the registration is approved
|
|
1531 |
msgstr ""
|
1532 |
|
1533 |
#: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:60
|
1534 |
-
#: includes/class-ur-emailer.php:
|
1535 |
msgid "Congratulations! Registration approved on {{blog_info}}"
|
1536 |
msgstr ""
|
1537 |
|
@@ -1560,8 +1560,8 @@ msgid "Enable this email sent to the user notifying the registration is denied b
|
|
1560 |
msgstr ""
|
1561 |
|
1562 |
#: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:60
|
1563 |
-
#: includes/class-ur-emailer.php:
|
1564 |
-
#: includes/class-ur-emailer.php:
|
1565 |
msgid "Sorry! Registration denied on {{blog_info}}"
|
1566 |
msgstr ""
|
1567 |
|
@@ -1590,7 +1590,7 @@ msgid "Enable this email sent to the user notifying the registration is pending.
|
|
1590 |
msgstr ""
|
1591 |
|
1592 |
#: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:61
|
1593 |
-
#: includes/class-ur-emailer.php:
|
1594 |
msgid "Sorry! Registration changed to pending on {{blog_info}}"
|
1595 |
msgstr ""
|
1596 |
|
@@ -1621,7 +1621,7 @@ msgid "Enable this email sent to the user when a user requests for reset passwor
|
|
1621 |
msgstr ""
|
1622 |
|
1623 |
#: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:59
|
1624 |
-
#: includes/class-ur-emailer.php:
|
1625 |
msgid "Password Reset Email: {{blog_info}}"
|
1626 |
msgstr ""
|
1627 |
|
@@ -1654,7 +1654,7 @@ msgid "Enable this email sent to the user after successful user registration."
|
|
1654 |
msgstr ""
|
1655 |
|
1656 |
#: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:60
|
1657 |
-
#: includes/class-ur-emailer.php:
|
1658 |
msgid "Congratulations! Registration Complete on {{blog_info}}"
|
1659 |
msgstr ""
|
1660 |
|
@@ -2014,7 +2014,7 @@ msgid "Email not verified! Verify your email by clicking on the link sent to you
|
|
2014 |
msgstr ""
|
2015 |
|
2016 |
#: includes/class-ur-emailer.php:146
|
2017 |
-
#: includes/class-ur-emailer.php:
|
2018 |
msgid "Chosen Password"
|
2019 |
msgstr ""
|
2020 |
|
@@ -4145,7 +4145,7 @@ msgstr ""
|
|
4145 |
msgid "Total"
|
4146 |
msgstr ""
|
4147 |
|
4148 |
-
#: templates/form-registration.php:
|
4149 |
msgid "Form not found, form id :"
|
4150 |
msgstr ""
|
4151 |
|
2 |
# This file is distributed under the same license as the User Registration plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: User Registration 1.8.7.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/user-registration\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2020-09-14T12:11:09+05:45\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: user-registration\n"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
#: includes/admin/settings/emails/class-ur-settings-admin-email.php:69
|
1394 |
+
#: includes/class-ur-emailer.php:347
|
1395 |
msgid "A New User Registered"
|
1396 |
msgstr ""
|
1397 |
|
1447 |
msgstr ""
|
1448 |
|
1449 |
#: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:60
|
1450 |
+
#: includes/class-ur-emailer.php:291
|
1451 |
msgid "Thank you for registration on {{blog_info}}"
|
1452 |
msgstr ""
|
1453 |
|
1472 |
msgstr ""
|
1473 |
|
1474 |
#: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:52
|
1475 |
+
#: includes/class-ur-emailer.php:282
|
1476 |
msgid "Please confirm your registration on {{blog_info}}"
|
1477 |
msgstr ""
|
1478 |
|
1501 |
msgstr ""
|
1502 |
|
1503 |
#: includes/admin/settings/emails/class-ur-settings-profile-details-changed-email.php:70
|
1504 |
+
#: includes/class-ur-emailer.php:489
|
1505 |
msgid "Profile Details Changed Email: {{blog_info}}"
|
1506 |
msgstr ""
|
1507 |
|
1531 |
msgstr ""
|
1532 |
|
1533 |
#: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:60
|
1534 |
+
#: includes/class-ur-emailer.php:414
|
1535 |
msgid "Congratulations! Registration approved on {{blog_info}}"
|
1536 |
msgstr ""
|
1537 |
|
1560 |
msgstr ""
|
1561 |
|
1562 |
#: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:60
|
1563 |
+
#: includes/class-ur-emailer.php:302
|
1564 |
+
#: includes/class-ur-emailer.php:402
|
1565 |
msgid "Sorry! Registration denied on {{blog_info}}"
|
1566 |
msgstr ""
|
1567 |
|
1590 |
msgstr ""
|
1591 |
|
1592 |
#: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:61
|
1593 |
+
#: includes/class-ur-emailer.php:390
|
1594 |
msgid "Sorry! Registration changed to pending on {{blog_info}}"
|
1595 |
msgstr ""
|
1596 |
|
1621 |
msgstr ""
|
1622 |
|
1623 |
#: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:59
|
1624 |
+
#: includes/class-ur-emailer.php:445
|
1625 |
msgid "Password Reset Email: {{blog_info}}"
|
1626 |
msgstr ""
|
1627 |
|
1654 |
msgstr ""
|
1655 |
|
1656 |
#: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:60
|
1657 |
+
#: includes/class-ur-emailer.php:313
|
1658 |
msgid "Congratulations! Registration Complete on {{blog_info}}"
|
1659 |
msgstr ""
|
1660 |
|
2014 |
msgstr ""
|
2015 |
|
2016 |
#: includes/class-ur-emailer.php:146
|
2017 |
+
#: includes/class-ur-emailer.php:594
|
2018 |
msgid "Chosen Password"
|
2019 |
msgstr ""
|
2020 |
|
4145 |
msgid "Total"
|
4146 |
msgstr ""
|
4147 |
|
4148 |
+
#: templates/form-registration.php:153
|
4149 |
msgid "Form not found, form id :"
|
4150 |
msgstr ""
|
4151 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: user registration, registration, user profile, registration form, login fo
|
|
4 |
Requires at least: 4.0
|
5 |
Requires PHP: 5.3
|
6 |
Tested up to: 5.5.1
|
7 |
-
Stable tag: 1.8.7
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -148,6 +148,9 @@ Yes, the plugin has a shortcode for the login form.
|
|
148 |
|
149 |
== Changelog ==
|
150 |
|
|
|
|
|
|
|
151 |
= 1.8.7 - 09/09/2020
|
152 |
* Enhance - Filter Users with approval status and specific UR forms.
|
153 |
* Enhance - Add placeholder option in the Date field.
|
4 |
Requires at least: 4.0
|
5 |
Requires PHP: 5.3
|
6 |
Tested up to: 5.5.1
|
7 |
+
Stable tag: 1.8.7.1
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
148 |
|
149 |
== Changelog ==
|
150 |
|
151 |
+
= 1.8.7.1 - 14/09/2020
|
152 |
+
* Fix - Conditional logic compatibility with WordPress 5.5
|
153 |
+
|
154 |
= 1.8.7 - 09/09/2020
|
155 |
* Enhance - Filter Users with approval status and specific UR forms.
|
156 |
* Enhance - Add placeholder option in the Date field.
|
templates/form-registration.php
CHANGED
@@ -87,9 +87,10 @@ do_action( 'user_registration_before_registration_form', $form_id );
|
|
87 |
// Migrate the conditional logic to logic_map schema.
|
88 |
$single_item = class_exists( 'URCL_Field_Settings' ) && method_exists( URCL_Field_Settings::class, 'migrate_to_logic_map_schema' ) ? URCL_Field_Settings::migrate_to_logic_map_schema( $single_item ) : $single_item;
|
89 |
|
90 |
-
$
|
91 |
-
$
|
92 |
-
$
|
|
|
93 |
|
94 |
if ( 'yes' === $cl_enabled && isset( $single_item->advance_setting->cl_map ) ) {
|
95 |
$cl_map = esc_attr( $single_item->advance_setting->cl_map );
|
87 |
// Migrate the conditional logic to logic_map schema.
|
88 |
$single_item = class_exists( 'URCL_Field_Settings' ) && method_exists( URCL_Field_Settings::class, 'migrate_to_logic_map_schema' ) ? URCL_Field_Settings::migrate_to_logic_map_schema( $single_item ) : $single_item;
|
89 |
|
90 |
+
$enabled_status = isset( $single_item->advance_setting->enable_conditional_logic ) ? $single_item->advance_setting->enable_conditional_logic : '';
|
91 |
+
$cl_enabled = '1' === $enabled_status || 'on' === $enabled_status ? 'yes' : 'no';
|
92 |
+
$cl_map = '';
|
93 |
+
$cl_props = sprintf( 'data-conditional-logic-enabled="%s"', esc_attr( $cl_enabled ) );
|
94 |
|
95 |
if ( 'yes' === $cl_enabled && isset( $single_item->advance_setting->cl_map ) ) {
|
96 |
$cl_map = esc_attr( $single_item->advance_setting->cl_map );
|
user-registration.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: User Registration
|
4 |
* Plugin URI: https://wpeverest.com/plugins/user-registration
|
5 |
* Description: Drag and Drop user registration form and login form builder.
|
6 |
-
* Version: 1.8.7
|
7 |
* Author: WPEverest
|
8 |
* Author URI: https://wpeverest.com
|
9 |
* Text Domain: user-registration
|
@@ -31,7 +31,7 @@ if ( ! class_exists( 'UserRegistration' ) ) :
|
|
31 |
*
|
32 |
* @var string
|
33 |
*/
|
34 |
-
public $version = '1.8.7';
|
35 |
|
36 |
/**
|
37 |
* Session instance.
|
3 |
* Plugin Name: User Registration
|
4 |
* Plugin URI: https://wpeverest.com/plugins/user-registration
|
5 |
* Description: Drag and Drop user registration form and login form builder.
|
6 |
+
* Version: 1.8.7.1
|
7 |
* Author: WPEverest
|
8 |
* Author URI: https://wpeverest.com
|
9 |
* Text Domain: user-registration
|
31 |
*
|
32 |
* @var string
|
33 |
*/
|
34 |
+
public $version = '1.8.7.1';
|
35 |
|
36 |
/**
|
37 |
* Session instance.
|