Version Description
- 02/03/2022
- Fix - ReCaptcha backward compatibility issue.
Download this release
Release Info
Developer | wpeverestdev |
Plugin | User Registration – Custom Registration Form, Login Form And User Profile For WordPress |
Version | 2.1.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.1.4 to 2.1.4.1
- assets/js/admin/settings.js +2 -2
- assets/js/admin/settings.min.js +1 -1
- assets/js/frontend/ur-login.js +1 -2
- assets/js/frontend/ur-login.min.js +1 -1
- assets/js/frontend/user-registration.js +6 -4
- assets/js/frontend/user-registration.min.js +1 -1
- includes/admin/settings/class-ur-settings-integration.php +1 -1
- includes/class-ur-ajax.php +2 -2
- includes/class-ur-form-handler.php +1 -1
- includes/class-ur-frontend-scripts.php +2 -0
- includes/class-ur-shortcodes.php +1 -1
- includes/functions-ur-core.php +1 -1
- languages/user-registration.pot +90 -102
- readme.txt +7 -2
- user-registration.php +2 -2
assets/js/admin/settings.js
CHANGED
@@ -83,7 +83,7 @@
|
|
83 |
// reCaptcha version selection
|
84 |
var recaptcha_input_value = $(".user-registration")
|
85 |
.find(
|
86 |
-
'input[name="
|
87 |
)
|
88 |
.val();
|
89 |
if (recaptcha_input_value != undefined) {
|
@@ -92,7 +92,7 @@
|
|
92 |
|
93 |
$(".user-registration").on(
|
94 |
"change",
|
95 |
-
'input[name="
|
96 |
function () {
|
97 |
handleReCaptchaHideShow($(this).val());
|
98 |
}
|
83 |
// reCaptcha version selection
|
84 |
var recaptcha_input_value = $(".user-registration")
|
85 |
.find(
|
86 |
+
'input[name="user_registration_integration_setting_recaptcha_version"]:checked'
|
87 |
)
|
88 |
.val();
|
89 |
if (recaptcha_input_value != undefined) {
|
92 |
|
93 |
$(".user-registration").on(
|
94 |
"change",
|
95 |
+
'input[name="user_registration_integration_setting_recaptcha_version"]',
|
96 |
function () {
|
97 |
handleReCaptchaHideShow($(this).val());
|
98 |
}
|
assets/js/admin/settings.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(r){r("select#user_registration_allowed_screens").on("change",function(){"specific"===r(this).val()?(r(this).closest("tr").next("tr").hide(),r(this).closest("tr").next().next("tr").show()):("all_except"===r(this).val()?r(this).closest("tr").next("tr").show():r(this).closest("tr").next("tr").hide(),r(this).closest("tr").next().next("tr").hide())}).trigger("change"),r(".colorpick").iris({change:function(t,e){r(this).parent().find(".colorpickpreview").css({backgroundColor:e.color.toString()})},hide:!0,border:!0}).on("click",function(){r(".iris-picker").hide(),r(this).closest("td").find(".iris-picker").show()}),r("body").on("click",function(){r(".iris-picker").hide()}),r(".colorpick").on("click",function(t){t.stopPropagation()}),r(function(){var t=!1;r("input, textarea, select, checkbox").on("change",function(){t=!0}),r(".ur-nav-tab-wrapper a").on("click",function(){window.onbeforeunload=t?function(){return user_registration_settings_params.i18n_nav_warning}:""}),r(".submit input").on("click",function(){window.onbeforeunload=""})}),r(".user-registration").on("click",".select_all",function(){return r(this).closest("td").find("select option").attr("selected","selected"),r(this).closest("td").find("select").trigger("change"),!1}),r(".user-registration").on("click",".select_none",function(){return r(this).closest("td").find("select option").prop("selected",!1),r(this).closest("td").find("select").trigger("change"),!1});var t=r(".user-registration").find('input[name="
|
1 |
+
!function(r){r("select#user_registration_allowed_screens").on("change",function(){"specific"===r(this).val()?(r(this).closest("tr").next("tr").hide(),r(this).closest("tr").next().next("tr").show()):("all_except"===r(this).val()?r(this).closest("tr").next("tr").show():r(this).closest("tr").next("tr").hide(),r(this).closest("tr").next().next("tr").hide())}).trigger("change"),r(".colorpick").iris({change:function(t,e){r(this).parent().find(".colorpickpreview").css({backgroundColor:e.color.toString()})},hide:!0,border:!0}).on("click",function(){r(".iris-picker").hide(),r(this).closest("td").find(".iris-picker").show()}),r("body").on("click",function(){r(".iris-picker").hide()}),r(".colorpick").on("click",function(t){t.stopPropagation()}),r(function(){var t=!1;r("input, textarea, select, checkbox").on("change",function(){t=!0}),r(".ur-nav-tab-wrapper a").on("click",function(){window.onbeforeunload=t?function(){return user_registration_settings_params.i18n_nav_warning}:""}),r(".submit input").on("click",function(){window.onbeforeunload=""})}),r(".user-registration").on("click",".select_all",function(){return r(this).closest("td").find("select option").attr("selected","selected"),r(this).closest("td").find("select").trigger("change"),!1}),r(".user-registration").on("click",".select_none",function(){return r(this).closest("td").find("select option").prop("selected",!1),r(this).closest("td").find("select").trigger("change"),!1});var t=r(".user-registration").find('input[name="user_registration_integration_setting_recaptcha_version"]:checked').val();function e(t){"v3"==t?(r("#user_registration_integration_setting_recaptcha_site_key_v3").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_site_secret_v3").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_site_key").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_key_hcaptcha").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret_hcaptcha").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_threshold_score_v3").closest("tr").show(),r("#user_registration_integration_setting_invisible_recaptcha_v2").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_invisible_site_key").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_invisible_site_secret").closest("tr").hide()):"hCaptcha"==t?(r("#user_registration_integration_setting_recaptcha_site_key_hcaptcha").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_site_secret_hcaptcha").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_site_key_v3").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret_v3").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_key").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_invisible_site_key").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_invisible_site_secret").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_threshold_score_v3").closest("tr").hide(),r("#user_registration_integration_setting_invisible_recaptcha_v2").closest("tr").hide()):("v2"==t&&r("input#user_registration_integration_setting_invisible_recaptcha_v2").is(":checked")?(r("#user_registration_integration_setting_recaptcha_site_key_v3").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret_v3").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_key").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_invisible_site_key").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_invisible_site_secret").closest("tr").show()):(r("#user_registration_integration_setting_recaptcha_site_key").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_site_secret").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_invisible_site_key").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_invisible_site_secret").closest("tr").hide()),r("#user_registration_integration_setting_recaptcha_threshold_score_v3").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_key_hcaptcha").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret_hcaptcha").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_key_v3").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret_v3").closest("tr").hide(),r("#user_registration_integration_setting_invisible_recaptcha_v2").closest("tr").show())}t!=undefined&&e(t),r(".user-registration").on("change",'input[name="user_registration_integration_setting_recaptcha_version"]',function(){e(r(this).val())}),r(".user-registration").on("change","input#user_registration_integration_setting_invisible_recaptcha_v2",function(){r(this).is(":checked")?(r("#user_registration_integration_setting_recaptcha_site_key").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_invisible_site_key").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_invisible_site_secret").closest("tr").show()):(r("#user_registration_integration_setting_recaptcha_site_key").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_site_secret").closest("tr").show(),r("#user_registration_integration_setting_recaptcha_invisible_site_key").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_invisible_site_secret").closest("tr").hide()),r("#user_registration_integration_setting_recaptcha_threshold_score_v3").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_key_hcaptcha").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret_hcaptcha").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_key_v3").closest("tr").hide(),r("#user_registration_integration_setting_recaptcha_site_secret_v3").closest("tr").hide(),r("#user_registration_integration_setting_invisible_recaptcha_v2").closest("tr").show()}),r(".ur-redirect-to-login-page").ready(function(){var t=r(".ur-redirect-to-login-page"),e=r("#user_registration_login_options_prevent_core_login"),i=r("#user_registration_login_options_login_redirect_url");e.prop("checked")?i.prop("required",!0):t.val("").closest(".single_select_page").css("display","none")}),r("#user_registration_login_options_prevent_core_login").on("change",function(){var t=r("#user_registration_login_options_prevent_core_login");r(".single_select_page").toggle(),r("#user_registration_login_options_login_redirect_url").prop("required",function(){return"checked"===t.prop("checked")})}),r(".user-registration-custom-file__input").on("change",function(){var t=r(".user-registration-custom-file__input").prop("files")[0];r(".user-registration-custom-selected-file").html(t.name)}),r(document).on("click","#user_registration_pro_general_setting_prevent_active_login",function(){r(this).prop("checked")?r(document).find("#user_registration_pro_general_setting_limited_login").parents("tr").removeClass("userregistration-forms-hidden"):r(document).find("#user_registration_pro_general_setting_limited_login").parents("tr").addClass("userregistration-forms-hidden")})}(jQuery);
|
assets/js/frontend/ur-login.js
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
/* global ur_recaptcha_code */
|
2 |
jQuery(function ($) {
|
3 |
$(".ur-frontend-form")
|
4 |
.find("form.login")
|
@@ -25,7 +24,7 @@ jQuery(function ($) {
|
|
25 |
.closest("form")
|
26 |
.find('input[name="redirect"]')
|
27 |
.val();
|
28 |
-
if ("hCaptcha" ===
|
29 |
var CaptchaResponse = $this
|
30 |
.closest("form")
|
31 |
.find('[name="h-captcha-response"]')
|
|
|
1 |
jQuery(function ($) {
|
2 |
$(".ur-frontend-form")
|
3 |
.find("form.login")
|
24 |
.closest("form")
|
25 |
.find('input[name="redirect"]')
|
26 |
.val();
|
27 |
+
if ("hCaptcha" === ur_login_params.recaptcha_type) {
|
28 |
var CaptchaResponse = $this
|
29 |
.closest("form")
|
30 |
.find('[name="h-captcha-response"]')
|
assets/js/frontend/ur-login.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function(o){o(".ur-frontend-form").find("form.login").each(function(){o(this).find("#user_registration_ajax_login_submit").on("click",function(e){e.preventDefault();var r,s=o(this),e=s.closest("form").find('input[name="username"]').val(),n=s.closest("form").find('input[name="password"]').val(),a=s.closest("form").find('input[name="rememberme"]').val(),t=s.closest("form").find('input[name="redirect"]').val(),i=(r=("hCaptcha"===
|
1 |
+
jQuery(function(o){o(".ur-frontend-form").find("form.login").each(function(){o(this).find("#user_registration_ajax_login_submit").on("click",function(e){e.preventDefault();var r,s=o(this),e=s.closest("form").find('input[name="username"]').val(),n=s.closest("form").find('input[name="password"]').val(),a=s.closest("form").find('input[name="rememberme"]').val(),t=s.closest("form").find('input[name="redirect"]').val(),i=(r=("hCaptcha"===ur_login_params.recaptcha_type?s.closest("form").find('[name="h-captcha-response"]'):s.closest("form").find('[name="g-recaptcha-response"]')).val(),ur_login_params.ajax_url+"?action=user_registration_ajax_login_submit&security="+ur_login_params.ur_login_form_save_nonce);s.closest("form").find(".ur-submit-button").siblings("span").addClass("ur-front-spinner"),o.ajax({type:"POST",url:i,data:{username:e,password:n,rememberme:a,CaptchaResponse:r,redirect:t},success:function(e){s.closest("form").find(".ur-submit-button").siblings("span").removeClass("ur-front-spinner"),0==e.success?(o(document).trigger("user_registration_after_login_failed",[s]),s.closest("#user-registration").find(".user-registration-error").remove(),s.closest("#user-registration").prepend('<ul class="user-registration-error">'+e.data.message+"</ul>")):window.location.href=e.data.message}})})})});
|
assets/js/frontend/user-registration.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
/* global user_registration_params */
|
2 |
-
/* global ur_recaptcha_code */
|
3 |
(function ($) {
|
4 |
var user_registration_form_init = function () {
|
5 |
var ursL10n = user_registration_params.ursL10n;
|
@@ -576,19 +575,22 @@
|
|
576 |
var form_data;
|
577 |
var form_id = 0;
|
578 |
var form_nonce = "0";
|
|
|
579 |
if (
|
580 |
-
"hcaptcha" ===
|
|
|
581 |
) {
|
582 |
-
|
583 |
.find('[name="h-captcha-response"]')
|
584 |
.val();
|
585 |
} else {
|
586 |
-
|
587 |
.find(
|
588 |
'[name="g-recaptcha-response"]'
|
589 |
)
|
590 |
.val();
|
591 |
}
|
|
|
592 |
try {
|
593 |
form_data = JSON.stringify(
|
594 |
form.get_form_data(
|
1 |
/* global user_registration_params */
|
|
|
2 |
(function ($) {
|
3 |
var user_registration_form_init = function () {
|
4 |
var ursL10n = user_registration_params.ursL10n;
|
575 |
var form_data;
|
576 |
var form_id = 0;
|
577 |
var form_nonce = "0";
|
578 |
+
var captchaResponse = "";
|
579 |
if (
|
580 |
+
"hcaptcha" ===
|
581 |
+
user_registration_params.recaptcha_type
|
582 |
) {
|
583 |
+
captchaResponse = $this
|
584 |
.find('[name="h-captcha-response"]')
|
585 |
.val();
|
586 |
} else {
|
587 |
+
captchaResponse = $this
|
588 |
.find(
|
589 |
'[name="g-recaptcha-response"]'
|
590 |
)
|
591 |
.val();
|
592 |
}
|
593 |
+
|
594 |
try {
|
595 |
form_data = JSON.stringify(
|
596 |
form.get_form_data(
|
assets/js/frontend/user-registration.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function ur_includes(e,r){if(Array.isArray(e))for(var t=0;t<e.length;t+=1)if(e[t]===r)return!0;return!1}!function(m){var e=function(){var u=user_registration_params.ursL10n;m.fn.ur_form_submission=function(){return this.each(function(){var p=m(this),o=[],d=user_registration_params.form_required_fields,c={init:function(){},get_form_data:function(e){if(e===p.closest(".ur-frontend-form").attr("id")||m(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")){var f=this,a=[],e=c.separate_form_handler(""),i=new Array;m.each(e,function(){var e,r,t=m(this).attr("name");c.separate_form_handler('[name="'+t+'"]').length<2?(e=f.get_fieldwise_data(m(this)),r=document.querySelector(".field-invite_code"),"invite_code"===e.field_name&&"none"===r.style.display||a.push(e)):m.inArray(t,i)<0&&i.push(t)});for(var r=0;r<i.length;r++){var t=c.separate_form_handler('[name="'+i[r]+'"]'),s=(t.get(0).tagName.toLowerCase(),"undefined"!==t.eq(0).attr("type")?t.eq(0).attr("type"):"null"),n=new Array;if(m.each(t,function(){var e=m(this),r="";switch(e.get(0).tagName.toLowerCase()){case"input":switch(s){case"checkbox":case"radio":r=e.prop("checked")?e.val():"";break;default:r=e.val()}break;case"select":case"textarea":r=e.val()}""!==r&&n.push(r)}),"checkbox"==s)if("multiple_choice"==t.eq(0).attr("data-field"))for(var o=n,d=0,u=0;u<o.length;u++)d+=o[u]<<0;else var d=JSON.stringify(n);else d="radio"==s?n[0]:t.val();var l=(l=i[r]).replace("[]",""),t={value:d,field_type:s,label:t.eq(0).attr("data-label"),field_name:l};a.push(t)}return m(document).trigger("user_registration_frontend_form_data_filter",[a]),a}},get_fieldwise_data:function(e){var r={},t=e.get(0).tagName.toLowerCase(),a="undefined"!==e.attr("name")?e.attr("name"):"null",i=[],s=(m(".field-phone").each(function(){var e=m(this).find(".form-row").attr("id");m(this).find(".form-row").find("#"+e).hasClass("ur-smart-phone-field")&&i.push(m(this).find(".form-row").attr("id"))}),"undefined"!==e.attr("type")?e.attr("type"):"null"),n=e.get(0).className.split(" ")[0];switch(r.value="",t){case"input":switch(s){case"checkbox":case"radio":r.value=e.prop("checked")?e.val():"";break;default:r.value=e.val()}ur_includes(i,a)&&(r.value=e.siblings('input[type="hidden"]').val());break;case"select":r.value=e.val();break;case"textarea":"wysiwyg"===n&&tinyMCE.triggerSave(),r.value=e.val()}return m(document).trigger("user_registration_frontend_form_data_render",[e,r]),r.field_type="undefined"!==e.eq(0).attr("type")?e.eq(0).attr("type"):"null",e.attr("data-label")!==undefined?r.label=e.attr("data-label"):e.prev().length&&"label"===e.prev().get(0).tagName.toLowerCase()?r.label=e.prev().text():r.label=r.field_type,e.attr("name")!==undefined&&""!==e.attr("name")?(r.field_name=e.attr("name"),r.field_name=r.field_name.replace("[]","")):r.field_name="",0<=m.inArray(r.field_name,d.join(",").trim())&&o.push(r.field_name),r},show_message:function(e,r,t,a){var i;t.closest(".user-registration").find(".ur-message").remove(),m(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")?((i=m('<div class="user-registration-'+r+'"/>')).append(e),m(".user-registration").find(".user-registration-MyAccount-navigation").length?i.insertBefore(".user-registration-MyAccount-navigation"):i.insertBefore(".ur-frontend-form")):((i=m('<div class="ur-message user-registration-'+r+'" id="ur-submit-message-node"/>')).append(e),"1"===a?t.append(i):t.prepend(i))},separate_form_handler:function(e){return m(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")?p.find(".user-registration-profile-fields").find(".ur-edit-profile-field"+e):p.closest(".ur-frontend-form").find(".ur-form-grid").find(".ur-frontend-field"+e)},missing_attachment_handler:function(e){var r=[];if(1<=e.length){e.each(function(){var e=m(this).attr("id");-1===m.inArray(e,r)&&r.push(e)});for(var t=0;t<r.length;t++){for(var a=m("#"+r[t]).val().split(","),i=a.length;0<=i;i--)m.isNumeric(a[i])||a.splice(i,1);m("#"+r[t]).val(a)}}}},e={init:function(){this.form_submit_event(),this.edit_profile_event()},form_submit_event:function(){m(".ur-frontend-form").each(function(){m(this).find("form.register").off("submit").on("submit",function(e){e.preventDefault();var n=m(this);if(m.extend(m.validator.messages,{required:user_registration_params.message_required_fields,url:user_registration_params.message_url_fields,email:user_registration_params.message_email_fields,number:user_registration_params.message_number_fields,confirmpassword:user_registration_params.message_confirm_password_fields}),0<n.find(".user-registration-password-strength").length){var e=n.find(".user-registration-password-strength").attr("data-current-strength"),r=n.find(".user-registration-password-strength").attr("data-min-strength");if(parseInt(e,0)<parseInt(r,0))return""!=n.find("#user_pass").val()&&(n.find("#user_pass_error").remove(),e='<label id="user_pass_error" class="user-registration-error" for="user_pass">'+u.password_strength_error+".</label>",n.find(".user-registration-password-hint").after(e),n.find("#user_pass").attr("aria-invalid",!0),n.find("#user_pass").trigger("focus")),!1}r=n.find(".ur-smart-phone-field");if("true"===r.attr("aria-invalid"))return(t=r.closest("p.form-row")).find("#"+r.data("id")+"-error").remove(),e='<label id="'+r.data("id")+'-error" class="user-registration-error" for="'+r.data("id")+'">'+user_registration_params.message_validate_phone_number+"</label>",t.append(e),t.find("#"+r.data("id")).attr("aria-invalid",!0),!0;e=n.find(".urfu-file-input");if(c.missing_attachment_handler(e),1===n.find(".uraf-profile-picture-upload").find(".user-registration-error").length&&(r=n.find(".uraf-profile-picture-upload").find(".uraf-profile-picture-input"),(t=n.find(".uraf-profile-picture-upload")).find("#"+r.attr("name")+"-error").remove(),t.find(".uraf-profile-picture-file-error").remove(),e='<label id="'+r.attr("name")+'-error" class="user-registration-error" for="'+r.attr("name")+'">'+user_registration_params.message_required_fields+"</label>",t.find("button.wp_uraf_profile_picture_upload").after(e)),n.valid()){n.find(".ur-submit-button").prop("disabled",!0);var r=0,t="0";e=("hcaptcha"===ur_recaptcha_code.version?n.find('[name="h-captcha-response"]'):n.find('[name="g-recaptcha-response"]')).val();try{a=JSON.stringify(c.get_form_data(n.closest(".ur-frontend-form").attr("id")))}catch(i){a=""}1===m(this).closest("form").find('input[name="ur-user-form-id"]').length&&(r=m(this).closest("form").find('input[name="ur-user-form-id"]').val()),1===m(this).closest("form").find('input[name="ur_frontend_form_nonce"]').length&&(t=m(this).closest("form").find('input[name="ur_frontend_form_nonce"]').val());var a={action:"user_registration_user_form_submit",security:user_registration_params.user_registration_form_data_save,form_data:a,captchaResponse:e,form_id:r,ur_frontend_form_nonce:t},e={};if(m(document).trigger("user_registration_frontend_before_form_submit",[a,n,e]),"undefined"!=typeof e.message&&""!==e.message)return c.show_message("<p>"+e.message+"</p>","error",n,"1"),void n.find(".ur-submit-button").prop("disabled",!1);n.find(".ur-submit-button").find("span").addClass("ur-front-spinner"),m.ajax({url:user_registration_params.ajax_url,data:a,type:"POST","async":!0,complete:function(e){var r=[];if(r.status=!1,m(document).trigger("user_registration_frontend_before_ajax_complete_success_message",[e,r]),!r.status){n.find(".ur-submit-button").find("span").removeClass("ur-front-spinner");var t=n.find('input[name="ur-redirect-url"]').val(),a=m('<ul class=""/>'),r="error";try{var i=JSON.parse(e.responseText);"undefined"!=typeof i.success&&!0===i.success&&"undefined"!=typeof i.data.paypal_redirect&&(window.location=i.data.paypal_redirect),"message"===(r="undefined"!=typeof i.success&&!0===i.success?"message":r)?(n.find(".user-registration-password-hint").remove(),n.find(".user-registration-password-strength").remove(),"admin_approval"==i.data.form_login_option?a.append("<li>"+u.user_under_approval+"</li>"):"email_confirmation"==i.data.form_login_option||"admin_approval_after_email_confirmation"==i.data.form_login_option?a.append("<li>"+u.user_email_pending+"</li>"):"payment"==i.data.form_login_option?a.append("<li>"+i.data.message+"</li>"):a.append((i.data.message,u.user_successfully_saved)),"undefined"!=typeof i.data.auto_password_generation_success_message&&a.append("<li>"+i.data.auto_password_generation_success_message+"</li>"),n[0].reset(),jQuery("#billing_country").trigger("change"),jQuery("#shipping_country").trigger("change"),void 0!==(t="undefined"!=typeof i.data.role_based_redirect_url?i.data.role_based_redirect_url:t)&&""!==t?window.setTimeout(function(){window.location=t},1e3):"undefined"!=typeof i.data.auto_login&&i.data.auto_login&&location.reload()):"error"===r&&("object"==typeof i.data.message?m.each(i.data.message,function(e,r){a.append("<li>"+r+"</li>")}):a.append("<li>"+i.data.message+"</li>"))}catch(s){a.append("<li>"+s.message+"</li>")}i=JSON.parse(e.responseText).data.success_message_positon;c.show_message(a,r,n,i),"1"===i?m(window).scrollTop(n.find(".ur-button-container").offset().top):m(window).scrollTop(n.closest(".ur-frontend-form").offset().top),m(document).trigger("user_registration_frontend_after_ajax_complete",[e.responseText,r,n]),n.find(".ur-submit-button").prop("disabled",!1)}}})}})})},edit_profile_event:function(){m("form.user-registration-EditProfileForm").on("submit",function(e){var s=m(this),r=(m.extend(m.validator.messages,{required:user_registration_params.message_required_fields,url:user_registration_params.message_url_fields,email:user_registration_params.message_email_fields,number:user_registration_params.message_number_fields}),s.find(".ur-smart-phone-field"));if("true"===r.attr("aria-invalid"))return(n=r.closest("p.form-row")).find("#"+r.data("id")+"-error").remove(),t='<label id="'+r.data("id")+'-error" class="user-registration-error" for="'+r.data("id")+'">'+user_registration_params.message_validate_phone_number+"</label>",n.append(t),n.find("#"+r.data("id")).attr("aria-invalid",!0),!0;if(1===s.find(".uraf-profile-picture-upload").find(".user-registration-error").length&&(t=s.find(".uraf-profile-picture-upload").find(".uraf-profile-picture-input"),(n=s.find(".uraf-profile-picture-upload")).find("#"+t.attr("name")+"-error").remove(),n.find(".uraf-profile-picture-file-error").remove(),r='<label id="'+t.attr("name")+'-error" class="user-registration-error" for="'+t.attr("name")+'">'+user_registration_params.message_required_fields+"</label>",n.find("button.wp_uraf_profile_picture_upload").after(r)),s.valid()){e.preventDefault(),s.find(".user-registration-submit-Button").prop("disabled",!0);var t=s.find(".urfu-file-input");c.missing_attachment_handler(t);try{var a=c.get_form_data(),i=m("#profile_pic_url").val();a.push({value:i,field_name:"user_registration_profile_pic_url"}),a=JSON.stringify(a)}catch(o){a=""}var n={action:"user_registration_update_profile_details",security:user_registration_params.user_registration_profile_details_save,form_data:a};s.find(".user-registration-submit-Button").find("span").addClass("ur-front-spinner"),m.ajax({type:"POST",url:user_registration_params.ajax_url,dataType:"JSON",data:n,complete:function(e){s.find("span.ur-front-spinner").removeClass("ur-front-spinner"),s.closest(".user-registration").find(".user-registration-error").remove(),s.closest(".user-registration").find(".user-registration-message").remove();var t=m('<ul class=""/>'),r="error";try{var a=JSON.parse(e.responseText);"undefined"!=typeof a.success&&!0===a.success&&(r="message"),"object"==typeof a.data.message?m.each(a.data.message,function(e,r){t.append("<li>"+r+"</li>")}):t.append("<li>"+a.data.message+"</li>")}catch(i){t.append("<li>"+i.message+"</li>")}c.show_message(t,r,s,"0"),s.find(".user-registration-submit-Button").prop("disabled",!1),m(window).scrollTop(m(".user-registration").position())}})}})}};c.init(),e.init()})},m(function(){m(".ur-submit-button").on("click",function(){m(this).closest("form.register").ur_form_submission()}),m(".user-registration-submit-Button").on("click",function(){m(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")&&"yes"===user_registration_params.ajax_submission_on_edit_profile&&m("form.user-registration-EditProfileForm").ur_form_submission()});var i={};m(document.body).on("click","#load_flatpickr",function(){var e,r,a=m(this).data("id"),t=i[a];t||(e=m(this).closest(".ur-field-item").find("#formated_date").val(),r=(0<m(".ur-frontend-form").length?m(".ur-frontend-form #"+a):m(".woocommerce-MyAccount-content #"+a)).attr("type","text").val(e),m(this).attr("data-date-format",r.data("date-format")),m(this).attr("data-mode",r.data("mode")),m(this).attr("data-min-date",r.data("min-date")),m(this).attr("data-max-date",r.data("max-date")),m(this).attr("data-default-date",e),t=m(this).flatpickr({disableMobile:!0,onChange:function(e,r,t){m("#"+a).val(r)}}),i[a]=t),t&&t.open()}),m(".ur-frontend-form").each(function(){m(this).find("form.register").on("focusout","#user_pass, #password_1",function(){$this=m(this);var e,r,t=m(this).attr("name"),a=m(this).data("id"),i=$this.closest("form").attr("data-enable-strength-password");"yes"!==i&&"1"!==i||(e=(i=$this.closest("form")).attr("data-minimum-password-strength"),r=[],(r="function"==typeof wp.passwordStrength.userInputDisallowedList?wp.passwordStrength.userInputDisallowedList():wp.passwordStrength.userInputBlacklist()).push(i.find('input[data-id="user_email"]').val()),r.push(i.find('input[data-id="user_login"]').val()),wp.passwordStrength.meter($this.val(),r)<e&&""!==$this.val()&&(i.find("#"+a+"_error").remove(),r='<label id="'+a+'_error" class="user-registration-error" for="'+t+'">'+u.password_strength_error+".</label>",i.find(".user-registration-password-hint").after(r)))})})}),m(function(){0<m(".user-registration-EditProfileForm.edit-profile .field-country").length&&m(".field-country").each(function(){var e=m(this).find(".ur-data-holder").data("option-value"),r=m(this).find(".ur-data-holder").data("option-html"),t=m(this).find("select");e&&r&&(0===t.find('option[value="'+e+'"]').length&&t.append("<option class='ur-remove' selected='selected' value='"+e+"'>"+r+"</option>"),m(this).on("click",function(){m(this).find(".ur-remove").remove()}))})})};m(function(){m(".input-checkbox").each(function(){var e=m(this).attr("data-id");m('input[name="'+e+'[]"]:checked').length==m('[data-id = "'+e+'" ]').length&&m('[data-check = "'+e+'" ]').prop("checked",!0)}),m('input[type="checkbox"]#checkall').on("click",function(){var e=m(this).attr("data-check");m('[data-id = "'+e+'" ]').prop("checked",m(this).prop("checked"))}),m(".input-checkbox").on("change",function(){var e=m(this).attr("data-id");!1===m(this).prop("checked")&&m('[data-check = "'+e+'" ]').prop("checked",!1),m('input[name="'+e+'[]"]:checked').length==m('[data-id = "'+e+'" ]').length&&m('[data-check = "'+e+'" ]').prop("checked",!0)})}),e(),m(window).on("load",function(){e()})}(jQuery),function(a){a(document).on("click",".password_preview",function(e){e.preventDefault();var r=user_registration_params.ursL10n,e=a(this).hasClass("dashicons-hidden")?"show":"hide",t=a(this).closest(".user-registration-form-row").find('input[name="password"]');if(0<(t=0===(t=0===(t=0===(t=0===(t=0===t.length?a(this).closest(".field-user_pass").find('input[name="user_pass"]'):t).length?a(this).closest(".field-user_confirm_password").find('input[name="user_confirm_password"]'):t).length?a(this).closest(".user-registration-form-row").find('input[name="password_current"]'):t).length?a(this).closest(".user-registration-form-row").find('input[name="password_1"]'):t).length?a(this).closest(".user-registration-form-row").find('input[name="password_2"]'):t).length)switch(e){case"show":t.attr("type","text"),a(this).removeClass("dashicons-hidden").addClass("dashicons-visibility"),a(this).attr("title",r.hide_password_title);break;case"hide":t.attr("type","password"),a(this).removeClass("dashicons-visibility").addClass("dashicons-hidden"),a(this).attr("title",r.show_password_title)}})}(jQuery);
|
1 |
+
function ur_includes(e,r){if(Array.isArray(e))for(var t=0;t<e.length;t+=1)if(e[t]===r)return!0;return!1}!function(m){var e=function(){var u=user_registration_params.ursL10n;m.fn.ur_form_submission=function(){return this.each(function(){var p=m(this),o=[],d=user_registration_params.form_required_fields,c={init:function(){},get_form_data:function(e){if(e===p.closest(".ur-frontend-form").attr("id")||m(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")){var f=this,a=[],e=c.separate_form_handler(""),i=new Array;m.each(e,function(){var e,r,t=m(this).attr("name");c.separate_form_handler('[name="'+t+'"]').length<2?(e=f.get_fieldwise_data(m(this)),r=document.querySelector(".field-invite_code"),"invite_code"===e.field_name&&"none"===r.style.display||a.push(e)):m.inArray(t,i)<0&&i.push(t)});for(var r=0;r<i.length;r++){var t=c.separate_form_handler('[name="'+i[r]+'"]'),s=(t.get(0).tagName.toLowerCase(),"undefined"!==t.eq(0).attr("type")?t.eq(0).attr("type"):"null"),n=new Array;if(m.each(t,function(){var e=m(this),r="";switch(e.get(0).tagName.toLowerCase()){case"input":switch(s){case"checkbox":case"radio":r=e.prop("checked")?e.val():"";break;default:r=e.val()}break;case"select":case"textarea":r=e.val()}""!==r&&n.push(r)}),"checkbox"==s)if("multiple_choice"==t.eq(0).attr("data-field"))for(var o=n,d=0,u=0;u<o.length;u++)d+=o[u]<<0;else var d=JSON.stringify(n);else d="radio"==s?n[0]:t.val();var l=(l=i[r]).replace("[]",""),t={value:d,field_type:s,label:t.eq(0).attr("data-label"),field_name:l};a.push(t)}return m(document).trigger("user_registration_frontend_form_data_filter",[a]),a}},get_fieldwise_data:function(e){var r={},t=e.get(0).tagName.toLowerCase(),a="undefined"!==e.attr("name")?e.attr("name"):"null",i=[],s=(m(".field-phone").each(function(){var e=m(this).find(".form-row").attr("id");m(this).find(".form-row").find("#"+e).hasClass("ur-smart-phone-field")&&i.push(m(this).find(".form-row").attr("id"))}),"undefined"!==e.attr("type")?e.attr("type"):"null"),n=e.get(0).className.split(" ")[0];switch(r.value="",t){case"input":switch(s){case"checkbox":case"radio":r.value=e.prop("checked")?e.val():"";break;default:r.value=e.val()}ur_includes(i,a)&&(r.value=e.siblings('input[type="hidden"]').val());break;case"select":r.value=e.val();break;case"textarea":"wysiwyg"===n&&tinyMCE.triggerSave(),r.value=e.val()}return m(document).trigger("user_registration_frontend_form_data_render",[e,r]),r.field_type="undefined"!==e.eq(0).attr("type")?e.eq(0).attr("type"):"null",e.attr("data-label")!==undefined?r.label=e.attr("data-label"):e.prev().length&&"label"===e.prev().get(0).tagName.toLowerCase()?r.label=e.prev().text():r.label=r.field_type,e.attr("name")!==undefined&&""!==e.attr("name")?(r.field_name=e.attr("name"),r.field_name=r.field_name.replace("[]","")):r.field_name="",0<=m.inArray(r.field_name,d.join(",").trim())&&o.push(r.field_name),r},show_message:function(e,r,t,a){var i;t.closest(".user-registration").find(".ur-message").remove(),m(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")?((i=m('<div class="user-registration-'+r+'"/>')).append(e),m(".user-registration").find(".user-registration-MyAccount-navigation").length?i.insertBefore(".user-registration-MyAccount-navigation"):i.insertBefore(".ur-frontend-form")):((i=m('<div class="ur-message user-registration-'+r+'" id="ur-submit-message-node"/>')).append(e),"1"===a?t.append(i):t.prepend(i))},separate_form_handler:function(e){return m(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")?p.find(".user-registration-profile-fields").find(".ur-edit-profile-field"+e):p.closest(".ur-frontend-form").find(".ur-form-grid").find(".ur-frontend-field"+e)},missing_attachment_handler:function(e){var r=[];if(1<=e.length){e.each(function(){var e=m(this).attr("id");-1===m.inArray(e,r)&&r.push(e)});for(var t=0;t<r.length;t++){for(var a=m("#"+r[t]).val().split(","),i=a.length;0<=i;i--)m.isNumeric(a[i])||a.splice(i,1);m("#"+r[t]).val(a)}}}},e={init:function(){this.form_submit_event(),this.edit_profile_event()},form_submit_event:function(){m(".ur-frontend-form").each(function(){m(this).find("form.register").off("submit").on("submit",function(e){e.preventDefault();var n=m(this);if(m.extend(m.validator.messages,{required:user_registration_params.message_required_fields,url:user_registration_params.message_url_fields,email:user_registration_params.message_email_fields,number:user_registration_params.message_number_fields,confirmpassword:user_registration_params.message_confirm_password_fields}),0<n.find(".user-registration-password-strength").length){var e=n.find(".user-registration-password-strength").attr("data-current-strength"),r=n.find(".user-registration-password-strength").attr("data-min-strength");if(parseInt(e,0)<parseInt(r,0))return""!=n.find("#user_pass").val()&&(n.find("#user_pass_error").remove(),e='<label id="user_pass_error" class="user-registration-error" for="user_pass">'+u.password_strength_error+".</label>",n.find(".user-registration-password-hint").after(e),n.find("#user_pass").attr("aria-invalid",!0),n.find("#user_pass").trigger("focus")),!1}r=n.find(".ur-smart-phone-field");if("true"===r.attr("aria-invalid"))return(t=r.closest("p.form-row")).find("#"+r.data("id")+"-error").remove(),e='<label id="'+r.data("id")+'-error" class="user-registration-error" for="'+r.data("id")+'">'+user_registration_params.message_validate_phone_number+"</label>",t.append(e),t.find("#"+r.data("id")).attr("aria-invalid",!0),!0;e=n.find(".urfu-file-input");if(c.missing_attachment_handler(e),1===n.find(".uraf-profile-picture-upload").find(".user-registration-error").length&&(r=n.find(".uraf-profile-picture-upload").find(".uraf-profile-picture-input"),(t=n.find(".uraf-profile-picture-upload")).find("#"+r.attr("name")+"-error").remove(),t.find(".uraf-profile-picture-file-error").remove(),e='<label id="'+r.attr("name")+'-error" class="user-registration-error" for="'+r.attr("name")+'">'+user_registration_params.message_required_fields+"</label>",t.find("button.wp_uraf_profile_picture_upload").after(e)),n.valid()){n.find(".ur-submit-button").prop("disabled",!0);var r=0,t="0",e="",e=("hcaptcha"===user_registration_params.recaptcha_type?n.find('[name="h-captcha-response"]'):n.find('[name="g-recaptcha-response"]')).val();try{a=JSON.stringify(c.get_form_data(n.closest(".ur-frontend-form").attr("id")))}catch(i){a=""}1===m(this).closest("form").find('input[name="ur-user-form-id"]').length&&(r=m(this).closest("form").find('input[name="ur-user-form-id"]').val()),1===m(this).closest("form").find('input[name="ur_frontend_form_nonce"]').length&&(t=m(this).closest("form").find('input[name="ur_frontend_form_nonce"]').val());var a={action:"user_registration_user_form_submit",security:user_registration_params.user_registration_form_data_save,form_data:a,captchaResponse:e,form_id:r,ur_frontend_form_nonce:t},e={};if(m(document).trigger("user_registration_frontend_before_form_submit",[a,n,e]),"undefined"!=typeof e.message&&""!==e.message)return c.show_message("<p>"+e.message+"</p>","error",n,"1"),void n.find(".ur-submit-button").prop("disabled",!1);n.find(".ur-submit-button").find("span").addClass("ur-front-spinner"),m.ajax({url:user_registration_params.ajax_url,data:a,type:"POST","async":!0,complete:function(e){var r=[];if(r.status=!1,m(document).trigger("user_registration_frontend_before_ajax_complete_success_message",[e,r]),!r.status){n.find(".ur-submit-button").find("span").removeClass("ur-front-spinner");var t=n.find('input[name="ur-redirect-url"]').val(),a=m('<ul class=""/>'),r="error";try{var i=JSON.parse(e.responseText);"undefined"!=typeof i.success&&!0===i.success&&"undefined"!=typeof i.data.paypal_redirect&&(window.location=i.data.paypal_redirect),"message"===(r="undefined"!=typeof i.success&&!0===i.success?"message":r)?(n.find(".user-registration-password-hint").remove(),n.find(".user-registration-password-strength").remove(),"admin_approval"==i.data.form_login_option?a.append("<li>"+u.user_under_approval+"</li>"):"email_confirmation"==i.data.form_login_option||"admin_approval_after_email_confirmation"==i.data.form_login_option?a.append("<li>"+u.user_email_pending+"</li>"):"payment"==i.data.form_login_option?a.append("<li>"+i.data.message+"</li>"):a.append((i.data.message,u.user_successfully_saved)),"undefined"!=typeof i.data.auto_password_generation_success_message&&a.append("<li>"+i.data.auto_password_generation_success_message+"</li>"),n[0].reset(),jQuery("#billing_country").trigger("change"),jQuery("#shipping_country").trigger("change"),void 0!==(t="undefined"!=typeof i.data.role_based_redirect_url?i.data.role_based_redirect_url:t)&&""!==t?window.setTimeout(function(){window.location=t},1e3):"undefined"!=typeof i.data.auto_login&&i.data.auto_login&&location.reload()):"error"===r&&("object"==typeof i.data.message?m.each(i.data.message,function(e,r){a.append("<li>"+r+"</li>")}):a.append("<li>"+i.data.message+"</li>"))}catch(s){a.append("<li>"+s.message+"</li>")}i=JSON.parse(e.responseText).data.success_message_positon;c.show_message(a,r,n,i),"1"===i?m(window).scrollTop(n.find(".ur-button-container").offset().top):m(window).scrollTop(n.closest(".ur-frontend-form").offset().top),m(document).trigger("user_registration_frontend_after_ajax_complete",[e.responseText,r,n]),n.find(".ur-submit-button").prop("disabled",!1)}}})}})})},edit_profile_event:function(){m("form.user-registration-EditProfileForm").on("submit",function(e){var s=m(this),r=(m.extend(m.validator.messages,{required:user_registration_params.message_required_fields,url:user_registration_params.message_url_fields,email:user_registration_params.message_email_fields,number:user_registration_params.message_number_fields}),s.find(".ur-smart-phone-field"));if("true"===r.attr("aria-invalid"))return(n=r.closest("p.form-row")).find("#"+r.data("id")+"-error").remove(),t='<label id="'+r.data("id")+'-error" class="user-registration-error" for="'+r.data("id")+'">'+user_registration_params.message_validate_phone_number+"</label>",n.append(t),n.find("#"+r.data("id")).attr("aria-invalid",!0),!0;if(1===s.find(".uraf-profile-picture-upload").find(".user-registration-error").length&&(t=s.find(".uraf-profile-picture-upload").find(".uraf-profile-picture-input"),(n=s.find(".uraf-profile-picture-upload")).find("#"+t.attr("name")+"-error").remove(),n.find(".uraf-profile-picture-file-error").remove(),r='<label id="'+t.attr("name")+'-error" class="user-registration-error" for="'+t.attr("name")+'">'+user_registration_params.message_required_fields+"</label>",n.find("button.wp_uraf_profile_picture_upload").after(r)),s.valid()){e.preventDefault(),s.find(".user-registration-submit-Button").prop("disabled",!0);var t=s.find(".urfu-file-input");c.missing_attachment_handler(t);try{var a=c.get_form_data(),i=m("#profile_pic_url").val();a.push({value:i,field_name:"user_registration_profile_pic_url"}),a=JSON.stringify(a)}catch(o){a=""}var n={action:"user_registration_update_profile_details",security:user_registration_params.user_registration_profile_details_save,form_data:a};s.find(".user-registration-submit-Button").find("span").addClass("ur-front-spinner"),m.ajax({type:"POST",url:user_registration_params.ajax_url,dataType:"JSON",data:n,complete:function(e){s.find("span.ur-front-spinner").removeClass("ur-front-spinner"),s.closest(".user-registration").find(".user-registration-error").remove(),s.closest(".user-registration").find(".user-registration-message").remove();var t=m('<ul class=""/>'),r="error";try{var a=JSON.parse(e.responseText);"undefined"!=typeof a.success&&!0===a.success&&(r="message"),"object"==typeof a.data.message?m.each(a.data.message,function(e,r){t.append("<li>"+r+"</li>")}):t.append("<li>"+a.data.message+"</li>")}catch(i){t.append("<li>"+i.message+"</li>")}c.show_message(t,r,s,"0"),s.find(".user-registration-submit-Button").prop("disabled",!1),m(window).scrollTop(m(".user-registration").position())}})}})}};c.init(),e.init()})},m(function(){m(".ur-submit-button").on("click",function(){m(this).closest("form.register").ur_form_submission()}),m(".user-registration-submit-Button").on("click",function(){m(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")&&"yes"===user_registration_params.ajax_submission_on_edit_profile&&m("form.user-registration-EditProfileForm").ur_form_submission()});var i={};m(document.body).on("click","#load_flatpickr",function(){var e,r,a=m(this).data("id"),t=i[a];t||(e=m(this).closest(".ur-field-item").find("#formated_date").val(),r=(0<m(".ur-frontend-form").length?m(".ur-frontend-form #"+a):m(".woocommerce-MyAccount-content #"+a)).attr("type","text").val(e),m(this).attr("data-date-format",r.data("date-format")),m(this).attr("data-mode",r.data("mode")),m(this).attr("data-min-date",r.data("min-date")),m(this).attr("data-max-date",r.data("max-date")),m(this).attr("data-default-date",e),t=m(this).flatpickr({disableMobile:!0,onChange:function(e,r,t){m("#"+a).val(r)}}),i[a]=t),t&&t.open()}),m(".ur-frontend-form").each(function(){m(this).find("form.register").on("focusout","#user_pass, #password_1",function(){$this=m(this);var e,r,t=m(this).attr("name"),a=m(this).data("id"),i=$this.closest("form").attr("data-enable-strength-password");"yes"!==i&&"1"!==i||(e=(i=$this.closest("form")).attr("data-minimum-password-strength"),r=[],(r="function"==typeof wp.passwordStrength.userInputDisallowedList?wp.passwordStrength.userInputDisallowedList():wp.passwordStrength.userInputBlacklist()).push(i.find('input[data-id="user_email"]').val()),r.push(i.find('input[data-id="user_login"]').val()),wp.passwordStrength.meter($this.val(),r)<e&&""!==$this.val()&&(i.find("#"+a+"_error").remove(),r='<label id="'+a+'_error" class="user-registration-error" for="'+t+'">'+u.password_strength_error+".</label>",i.find(".user-registration-password-hint").after(r)))})})}),m(function(){0<m(".user-registration-EditProfileForm.edit-profile .field-country").length&&m(".field-country").each(function(){var e=m(this).find(".ur-data-holder").data("option-value"),r=m(this).find(".ur-data-holder").data("option-html"),t=m(this).find("select");e&&r&&(0===t.find('option[value="'+e+'"]').length&&t.append("<option class='ur-remove' selected='selected' value='"+e+"'>"+r+"</option>"),m(this).on("click",function(){m(this).find(".ur-remove").remove()}))})})};m(function(){m(".input-checkbox").each(function(){var e=m(this).attr("data-id");m('input[name="'+e+'[]"]:checked').length==m('[data-id = "'+e+'" ]').length&&m('[data-check = "'+e+'" ]').prop("checked",!0)}),m('input[type="checkbox"]#checkall').on("click",function(){var e=m(this).attr("data-check");m('[data-id = "'+e+'" ]').prop("checked",m(this).prop("checked"))}),m(".input-checkbox").on("change",function(){var e=m(this).attr("data-id");!1===m(this).prop("checked")&&m('[data-check = "'+e+'" ]').prop("checked",!1),m('input[name="'+e+'[]"]:checked').length==m('[data-id = "'+e+'" ]').length&&m('[data-check = "'+e+'" ]').prop("checked",!0)})}),e(),m(window).on("load",function(){e()})}(jQuery),function(a){a(document).on("click",".password_preview",function(e){e.preventDefault();var r=user_registration_params.ursL10n,e=a(this).hasClass("dashicons-hidden")?"show":"hide",t=a(this).closest(".user-registration-form-row").find('input[name="password"]');if(0<(t=0===(t=0===(t=0===(t=0===(t=0===t.length?a(this).closest(".field-user_pass").find('input[name="user_pass"]'):t).length?a(this).closest(".field-user_confirm_password").find('input[name="user_confirm_password"]'):t).length?a(this).closest(".user-registration-form-row").find('input[name="password_current"]'):t).length?a(this).closest(".user-registration-form-row").find('input[name="password_1"]'):t).length?a(this).closest(".user-registration-form-row").find('input[name="password_2"]'):t).length)switch(e){case"show":t.attr("type","text"),a(this).removeClass("dashicons-hidden").addClass("dashicons-visibility"),a(this).attr("title",r.hide_password_title);break;case"hide":t.attr("type","password"),a(this).removeClass("dashicons-visibility").addClass("dashicons-hidden"),a(this).attr("title",r.show_password_title)}})}(jQuery);
|
includes/admin/settings/class-ur-settings-integration.php
CHANGED
@@ -52,7 +52,7 @@ if ( ! class_exists( 'UR_Settings_Integration ' ) ) :
|
|
52 |
array(
|
53 |
'title' => __( 'Captcha Type', 'user-registration' ),
|
54 |
'desc' => __( 'Select the Captcha type', 'user-registration' ),
|
55 |
-
'id' => '
|
56 |
'default' => 'v2',
|
57 |
'type' => 'radio',
|
58 |
'class' => '',
|
52 |
array(
|
53 |
'title' => __( 'Captcha Type', 'user-registration' ),
|
54 |
'desc' => __( 'Select the Captcha type', 'user-registration' ),
|
55 |
+
'id' => 'user_registration_integration_setting_recaptcha_version',
|
56 |
'default' => 'v2',
|
57 |
'type' => 'radio',
|
58 |
'class' => '',
|
includes/class-ur-ajax.php
CHANGED
@@ -102,7 +102,7 @@ class UR_AJAX {
|
|
102 |
$captcha_response = isset( $_POST['captchaResponse'] ) ? ur_clean( wp_unslash( $_POST['captchaResponse'] ) ) : ''; //phpcs:ignore
|
103 |
$flag = wp_verify_nonce( $nonce, 'ur_frontend_form_id-' . $form_id );
|
104 |
$recaptcha_enabled = ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_enable_recaptcha_support', 'no' );
|
105 |
-
$recaptcha_type = get_option( '
|
106 |
$invisible_recaptcha = get_option( 'user_registration_integration_setting_invisible_recaptcha_v2', 'no' );
|
107 |
|
108 |
if ( 'yes' == $recaptcha_enabled || '1' == $recaptcha_enabled ) {
|
@@ -515,7 +515,7 @@ class UR_AJAX {
|
|
515 |
$info['remember'] = isset( $_POST['rememberme'] );
|
516 |
$captcha_response = isset( $_POST['CaptchaResponse'] ) ? $_POST['CaptchaResponse'] : ''; //phpcs:ignore
|
517 |
$recaptcha_enabled = get_option( 'user_registration_login_options_enable_recaptcha', 'no' );
|
518 |
-
$recaptcha_type = get_option( '
|
519 |
$invisible_recaptcha = get_option( 'user_registration_integration_setting_invisible_recaptcha_v2', 'no' );
|
520 |
|
521 |
if ( 'yes' == $recaptcha_enabled || '1' == $recaptcha_enabled ) {
|
102 |
$captcha_response = isset( $_POST['captchaResponse'] ) ? ur_clean( wp_unslash( $_POST['captchaResponse'] ) ) : ''; //phpcs:ignore
|
103 |
$flag = wp_verify_nonce( $nonce, 'ur_frontend_form_id-' . $form_id );
|
104 |
$recaptcha_enabled = ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_enable_recaptcha_support', 'no' );
|
105 |
+
$recaptcha_type = get_option( 'user_registration_integration_setting_recaptcha_version', 'v2' );
|
106 |
$invisible_recaptcha = get_option( 'user_registration_integration_setting_invisible_recaptcha_v2', 'no' );
|
107 |
|
108 |
if ( 'yes' == $recaptcha_enabled || '1' == $recaptcha_enabled ) {
|
515 |
$info['remember'] = isset( $_POST['rememberme'] );
|
516 |
$captcha_response = isset( $_POST['CaptchaResponse'] ) ? $_POST['CaptchaResponse'] : ''; //phpcs:ignore
|
517 |
$recaptcha_enabled = get_option( 'user_registration_login_options_enable_recaptcha', 'no' );
|
518 |
+
$recaptcha_type = get_option( 'user_registration_integration_setting_recaptcha_version', 'v2' );
|
519 |
$invisible_recaptcha = get_option( 'user_registration_integration_setting_invisible_recaptcha_v2', 'no' );
|
520 |
|
521 |
if ( 'yes' == $recaptcha_enabled || '1' == $recaptcha_enabled ) {
|
includes/class-ur-form-handler.php
CHANGED
@@ -375,7 +375,7 @@ class UR_Form_Handler {
|
|
375 |
$hcaptca_response = isset( $_POST['h-captcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['h-captcha-response'] ) ) : '';
|
376 |
$recaptcha_value = isset( $_POST['g-recaptcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['g-recaptcha-response'] ) ) : $hcaptca_response;
|
377 |
$recaptcha_enabled = get_option( 'user_registration_login_options_enable_recaptcha', 'no' );
|
378 |
-
$recaptcha_type = get_option( '
|
379 |
$invisible_recaptcha = get_option( 'user_registration_integration_setting_invisible_recaptcha_v2', 'no' );
|
380 |
|
381 |
if ( ! empty( $_POST['login'] ) && wp_verify_nonce( $nonce_value, 'user-registration-login' ) ) {
|
375 |
$hcaptca_response = isset( $_POST['h-captcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['h-captcha-response'] ) ) : '';
|
376 |
$recaptcha_value = isset( $_POST['g-recaptcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['g-recaptcha-response'] ) ) : $hcaptca_response;
|
377 |
$recaptcha_enabled = get_option( 'user_registration_login_options_enable_recaptcha', 'no' );
|
378 |
+
$recaptcha_type = get_option( 'user_registration_integration_setting_recaptcha_version', 'v2' );
|
379 |
$invisible_recaptcha = get_option( 'user_registration_integration_setting_invisible_recaptcha_v2', 'no' );
|
380 |
|
381 |
if ( ! empty( $_POST['login'] ) && wp_verify_nonce( $nonce_value, 'user-registration-login' ) ) {
|
includes/class-ur-frontend-scripts.php
CHANGED
@@ -357,6 +357,7 @@ class UR_Frontend_Scripts {
|
|
357 |
'user_registration_profile_picture_upload_nonce' => wp_create_nonce( 'user_registration_profile_picture_upload_nonce' ),
|
358 |
'form_required_fields' => ur_get_required_fields(),
|
359 |
'login_option' => get_option( 'user_registration_general_setting_login_options' ),
|
|
|
360 |
'user_registration_profile_picture_uploading' => esc_html__( 'Uploading...', 'user-registration' ),
|
361 |
'ajax_submission_on_edit_profile' => get_option( 'user_registration_ajax_form_submission_on_edit_profile', 'no' ),
|
362 |
'message_required_fields' => get_option( 'user_registration_form_submission_error_message_required_fields', esc_html__( 'This field is required.', 'user-registration' ) ),
|
@@ -402,6 +403,7 @@ class UR_Frontend_Scripts {
|
|
402 |
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
403 |
'ur_login_form_save_nonce' => wp_create_nonce( 'ur_login_form_save_nonce' ),
|
404 |
'ajax_submission_on_ur_login' => get_option( 'ur_login_ajax_submission', 'no' ),
|
|
|
405 |
);
|
406 |
break;
|
407 |
}
|
357 |
'user_registration_profile_picture_upload_nonce' => wp_create_nonce( 'user_registration_profile_picture_upload_nonce' ),
|
358 |
'form_required_fields' => ur_get_required_fields(),
|
359 |
'login_option' => get_option( 'user_registration_general_setting_login_options' ),
|
360 |
+
'recaptcha_type' => get_option( 'user_registration_integration_setting_recaptcha_version', 'v2' ),
|
361 |
'user_registration_profile_picture_uploading' => esc_html__( 'Uploading...', 'user-registration' ),
|
362 |
'ajax_submission_on_edit_profile' => get_option( 'user_registration_ajax_form_submission_on_edit_profile', 'no' ),
|
363 |
'message_required_fields' => get_option( 'user_registration_form_submission_error_message_required_fields', esc_html__( 'This field is required.', 'user-registration' ) ),
|
403 |
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
404 |
'ur_login_form_save_nonce' => wp_create_nonce( 'ur_login_form_save_nonce' ),
|
405 |
'ajax_submission_on_ur_login' => get_option( 'ur_login_ajax_submission', 'no' ),
|
406 |
+
'recaptcha_type' => get_option( 'user_registration_integration_setting_recaptcha_version', 'v2' ),
|
407 |
);
|
408 |
break;
|
409 |
}
|
includes/class-ur-shortcodes.php
CHANGED
@@ -249,7 +249,7 @@ class UR_Shortcodes {
|
|
249 |
wp_enqueue_script( 'ur-password-strength-meter' );
|
250 |
}
|
251 |
|
252 |
-
$recaptcha_enabled = ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_enable_recaptcha_support' );
|
253 |
$recaptcha_node = ur_get_recaptcha_node( 'register', $recaptcha_enabled );
|
254 |
|
255 |
$form_data_array = apply_filters( 'user_registration_before_registration_form_template', $form_data_array, $form_id );
|
249 |
wp_enqueue_script( 'ur-password-strength-meter' );
|
250 |
}
|
251 |
|
252 |
+
$recaptcha_enabled = ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_enable_recaptcha_support', 'no' );
|
253 |
$recaptcha_node = ur_get_recaptcha_node( 'register', $recaptcha_enabled );
|
254 |
|
255 |
$form_data_array = apply_filters( 'user_registration_before_registration_form_template', $form_data_array, $form_id );
|
includes/functions-ur-core.php
CHANGED
@@ -1445,7 +1445,7 @@ function ur_get_user_login_option() {
|
|
1445 |
*/
|
1446 |
function ur_get_recaptcha_node( $context, $recaptcha_enabled = 'no' ) {
|
1447 |
|
1448 |
-
$recaptcha_type = get_option( '
|
1449 |
$invisible_recaptcha = get_option( 'user_registration_integration_setting_invisible_recaptcha_v2', 'no' );
|
1450 |
|
1451 |
if ( 'v2' === $recaptcha_type && 'no' === $invisible_recaptcha ) {
|
1445 |
*/
|
1446 |
function ur_get_recaptcha_node( $context, $recaptcha_enabled = 'no' ) {
|
1447 |
|
1448 |
+
$recaptcha_type = get_option( 'user_registration_integration_setting_recaptcha_version', 'v2' );
|
1449 |
$invisible_recaptcha = get_option( 'user_registration_integration_setting_invisible_recaptcha_v2', 'no' );
|
1450 |
|
1451 |
if ( 'v2' === $recaptcha_type && 'no' === $invisible_recaptcha ) {
|
languages/user-registration.pot
CHANGED
@@ -2,16 +2,16 @@
|
|
2 |
# This file is distributed under the same license as the User Registration plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: User Registration 2.1.4\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: 2022-03-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
-
"X-Generator: WP-CLI 2.
|
15 |
"X-Domain: user-registration\n"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
@@ -1023,7 +1023,7 @@ msgid "Enter the text message after successful form submission on manual login a
|
|
1023 |
msgstr ""
|
1024 |
|
1025 |
#: includes/admin/settings/class-ur-settings-general.php:243
|
1026 |
-
#: includes/class-ur-frontend-scripts.php:
|
1027 |
msgid "User successfully registered."
|
1028 |
msgstr ""
|
1029 |
|
@@ -1037,7 +1037,7 @@ msgid "Enter the text message after successful form submission on email confirma
|
|
1037 |
msgstr ""
|
1038 |
|
1039 |
#: includes/admin/settings/class-ur-settings-general.php:253
|
1040 |
-
#: includes/class-ur-frontend-scripts.php:
|
1041 |
msgid "User registered. Verify your email by clicking on the link sent to your email."
|
1042 |
msgstr ""
|
1043 |
|
@@ -1064,7 +1064,7 @@ msgid "Enter the text message after successful form submission on admin approval
|
|
1064 |
msgstr ""
|
1065 |
|
1066 |
#: includes/admin/settings/class-ur-settings-general.php:273
|
1067 |
-
#: includes/class-ur-frontend-scripts.php:
|
1068 |
msgid "User registered. Wait until admin approves your registration."
|
1069 |
msgstr ""
|
1070 |
|
@@ -1082,7 +1082,7 @@ msgid "Enter the error message in form submission on required fields."
|
|
1082 |
msgstr ""
|
1083 |
|
1084 |
#: includes/admin/settings/class-ur-settings-general.php:289
|
1085 |
-
#: includes/class-ur-frontend-scripts.php:
|
1086 |
msgid "This field is required."
|
1087 |
msgstr ""
|
1088 |
|
@@ -1103,7 +1103,7 @@ msgid "Enter the error message in form submission on Email."
|
|
1103 |
msgstr ""
|
1104 |
|
1105 |
#: includes/admin/settings/class-ur-settings-general.php:307
|
1106 |
-
#: includes/class-ur-frontend-scripts.php:
|
1107 |
msgid "Please enter a valid email address."
|
1108 |
msgstr ""
|
1109 |
|
@@ -1116,7 +1116,7 @@ msgid "Enter the error message in form submission on website/URL."
|
|
1116 |
msgstr ""
|
1117 |
|
1118 |
#: includes/admin/settings/class-ur-settings-general.php:317
|
1119 |
-
#: includes/class-ur-frontend-scripts.php:
|
1120 |
msgid "Please enter a valid URL."
|
1121 |
msgstr ""
|
1122 |
|
@@ -1132,7 +1132,7 @@ msgid "Enter the error message in form submission on Number."
|
|
1132 |
msgstr ""
|
1133 |
|
1134 |
#: includes/admin/settings/class-ur-settings-general.php:327
|
1135 |
-
#: includes/class-ur-frontend-scripts.php:
|
1136 |
msgid "Please enter a valid number."
|
1137 |
msgstr ""
|
1138 |
|
@@ -1146,7 +1146,7 @@ msgid "Enter the error message in form submission on Confim Email."
|
|
1146 |
msgstr ""
|
1147 |
|
1148 |
#: includes/admin/settings/class-ur-settings-general.php:337
|
1149 |
-
#: includes/class-ur-frontend-scripts.php:
|
1150 |
msgid "Email and confirm email not matched."
|
1151 |
msgstr ""
|
1152 |
|
@@ -1160,7 +1160,7 @@ msgid "Enter the error message in form submission on Confim Password."
|
|
1160 |
msgstr ""
|
1161 |
|
1162 |
#: includes/admin/settings/class-ur-settings-general.php:347
|
1163 |
-
#: includes/class-ur-frontend-scripts.php:
|
1164 |
msgid "Password and confirm password not matched."
|
1165 |
msgstr ""
|
1166 |
|
@@ -1176,7 +1176,7 @@ msgstr ""
|
|
1176 |
#: includes/class-ur-ajax.php:147
|
1177 |
#: includes/class-ur-ajax.php:560
|
1178 |
#: includes/class-ur-form-handler.php:421
|
1179 |
-
#: includes/class-ur-frontend-scripts.php:
|
1180 |
msgid "Captcha code error, please try again."
|
1181 |
msgstr ""
|
1182 |
|
@@ -1497,8 +1497,6 @@ msgstr ""
|
|
1497 |
msgid "Site Key (reCaptcha v2)"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
-
#. translators: %1$s - Google reCAPTCHA docs url
|
1501 |
-
#. translators: %1$s - Google reCAPTCHA docs url
|
1502 |
#. translators: %1$s - Google reCAPTCHA docs url
|
1503 |
#: includes/admin/settings/class-ur-settings-integration.php:69
|
1504 |
#: includes/admin/settings/class-ur-settings-integration.php:94
|
@@ -1510,8 +1508,6 @@ msgstr ""
|
|
1510 |
msgid "Secret Key ( reCaptcha v2)"
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#. translators: %1$s - Google reCAPTCHA docs url
|
1514 |
-
#. translators: %1$s - Google reCAPTCHA docs url
|
1515 |
#. translators: %1$s - Google reCAPTCHA docs url
|
1516 |
#: includes/admin/settings/class-ur-settings-integration.php:82
|
1517 |
#: includes/admin/settings/class-ur-settings-integration.php:107
|
@@ -1708,12 +1704,12 @@ msgstr ""
|
|
1708 |
|
1709 |
#: includes/admin/settings/emails/class-ur-settings-admin-email.php:99
|
1710 |
msgid ""
|
1711 |
-
"Hi Admin, <br/>\
|
1712 |
-
"\
|
1713 |
-
"A new user {{username}} - {{email}} has successfully registered to your site <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\
|
1714 |
-
"\
|
1715 |
-
"Please review the user role and details at '<b>Users</b>' menu in your WP dashboard. <br/>\
|
1716 |
-
"\
|
1717 |
"Thank You!"
|
1718 |
msgstr ""
|
1719 |
|
@@ -1740,12 +1736,12 @@ msgstr ""
|
|
1740 |
|
1741 |
#: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:90
|
1742 |
msgid ""
|
1743 |
-
"Hi {{username}}, <br/>\
|
1744 |
-
"\
|
1745 |
-
"You have registered on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\
|
1746 |
-
"\
|
1747 |
-
"Please wait until the site admin approves your registration. You will be notified after it is approved. <br/>\
|
1748 |
-
"\
|
1749 |
"Thank You!"
|
1750 |
msgstr ""
|
1751 |
|
@@ -1768,12 +1764,12 @@ msgstr ""
|
|
1768 |
|
1769 |
#: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:82
|
1770 |
msgid ""
|
1771 |
-
"Hi {{username}}, <br/>\
|
1772 |
-
"\
|
1773 |
-
"You have registered on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\
|
1774 |
-
"\
|
1775 |
-
"Please click on this verification link {{home_url}}/{{ur_login}}?ur_token={{email_token}} to confirm registration. <br/>\
|
1776 |
-
"\
|
1777 |
"Thank You!"
|
1778 |
msgstr ""
|
1779 |
|
@@ -1797,13 +1793,13 @@ msgstr ""
|
|
1797 |
|
1798 |
#: includes/admin/settings/emails/class-ur-settings-profile-details-changed-email.php:102
|
1799 |
msgid ""
|
1800 |
-
"User has changed profile information for the following account:<br/>\
|
1801 |
-
"\
|
1802 |
-
"SiteName: {{blog_info}} <br/>\
|
1803 |
-
"Username: {{username}} <br/>\
|
1804 |
-
"\
|
1805 |
-
"{{all_fields}}\
|
1806 |
-
"<br/>\
|
1807 |
"Thank You!"
|
1808 |
msgstr ""
|
1809 |
|
@@ -1827,12 +1823,12 @@ msgstr ""
|
|
1827 |
|
1828 |
#: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:90
|
1829 |
msgid ""
|
1830 |
-
"Hi {{username}}, <br/>\
|
1831 |
-
"\
|
1832 |
-
"Your registration on <a href=\"{{home_url}}\">{{blog_info}}</a> has been approved. <br/>\
|
1833 |
-
"\
|
1834 |
-
"Please visit '<b>My Account</b>' page to edit your account details and create your user profile on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\
|
1835 |
-
"\
|
1836 |
"Thank You!"
|
1837 |
msgstr ""
|
1838 |
|
@@ -1857,12 +1853,12 @@ msgstr ""
|
|
1857 |
|
1858 |
#: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:90
|
1859 |
msgid ""
|
1860 |
-
"Hi {{username}}, <br/>\
|
1861 |
-
"\
|
1862 |
-
"You have registered on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\
|
1863 |
-
"\
|
1864 |
-
"Unfortunately your registration is denied. Sorry for the inconvenience. <br/>\
|
1865 |
-
"\
|
1866 |
"Thank You!"
|
1867 |
msgstr ""
|
1868 |
|
@@ -1886,14 +1882,14 @@ msgstr ""
|
|
1886 |
|
1887 |
#: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:92
|
1888 |
msgid ""
|
1889 |
-
"Hi {{username}}, <br/>\
|
1890 |
-
"\
|
1891 |
-
"Your registration on <a href=\"{{home_url}}\">{{blog_info}}</a> has been changed to pending. <br/>\
|
1892 |
-
"\
|
1893 |
-
"Sorry for the inconvenience. <br/>\
|
1894 |
-
"\
|
1895 |
-
"You will be notified after it is approved. <br/>\
|
1896 |
-
"\
|
1897 |
"Thank You!"
|
1898 |
msgstr ""
|
1899 |
|
@@ -1917,16 +1913,16 @@ msgstr ""
|
|
1917 |
|
1918 |
#: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:89
|
1919 |
msgid ""
|
1920 |
-
"Someone has requested a password reset for the following account: <br/>\
|
1921 |
-
"\
|
1922 |
-
"SiteName: {{blog_info}} <br/>\
|
1923 |
-
"Username: {{username}} <br/>\
|
1924 |
-
"\
|
1925 |
-
"If this was a mistake, just ignore this email and nothing will happen. <br/>\
|
1926 |
-
"\
|
1927 |
-
"To reset your password, visit the following address: <br/>\
|
1928 |
-
"<a href=\"{{home_url}}/{{ur_login}}?action=rp&key={{key}}&login={{username}} \" rel=\"noreferrer noopener\" target=\"_blank\">Click Here</a><br/>\
|
1929 |
-
"\
|
1930 |
"Thank You!"
|
1931 |
msgstr ""
|
1932 |
|
@@ -1950,12 +1946,12 @@ msgstr ""
|
|
1950 |
|
1951 |
#: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:90
|
1952 |
msgid ""
|
1953 |
-
"Hi {{username}}, <br/>\
|
1954 |
-
"\
|
1955 |
-
"You have successfully completed user registration on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\
|
1956 |
-
"\
|
1957 |
-
"Please visit '<b>My Account</b>' page to edit your account details and create your user profile on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\
|
1958 |
-
"\
|
1959 |
"Thank You!"
|
1960 |
msgstr ""
|
1961 |
|
@@ -2376,7 +2372,6 @@ msgstr ""
|
|
2376 |
msgid "Form"
|
2377 |
msgstr ""
|
2378 |
|
2379 |
-
#. translators: %s - Field Label
|
2380 |
#. translators: %s - Field Label
|
2381 |
#: includes/class-ur-form-handler.php:188
|
2382 |
#: includes/frontend/class-ur-frontend-form-handler.php:473
|
@@ -2448,35 +2443,35 @@ msgstr ""
|
|
2448 |
msgid "Thanks for confirming your erasure request."
|
2449 |
msgstr ""
|
2450 |
|
2451 |
-
#: includes/class-ur-frontend-scripts.php:
|
2452 |
msgid "Uploading..."
|
2453 |
msgstr ""
|
2454 |
|
2455 |
-
#: includes/class-ur-frontend-scripts.php:
|
2456 |
msgid "Please enter a valid phone number."
|
2457 |
msgstr ""
|
2458 |
|
2459 |
-
#: includes/class-ur-frontend-scripts.php:
|
2460 |
msgid "Please enter a valid username."
|
2461 |
msgstr ""
|
2462 |
|
2463 |
-
#: includes/class-ur-frontend-scripts.php:
|
2464 |
msgid "Please enter a value less than or equal to %qty%."
|
2465 |
msgstr ""
|
2466 |
|
2467 |
-
#: includes/class-ur-frontend-scripts.php:
|
2468 |
msgid "Please enter a value greater than or equal to %qty%."
|
2469 |
msgstr ""
|
2470 |
|
2471 |
-
#: includes/class-ur-frontend-scripts.php:
|
2472 |
msgid "Please enter a multiple of %qty%."
|
2473 |
msgstr ""
|
2474 |
|
2475 |
-
#: includes/class-ur-frontend-scripts.php:
|
2476 |
msgid "Hide Password"
|
2477 |
msgstr ""
|
2478 |
|
2479 |
-
#: includes/class-ur-frontend-scripts.php:
|
2480 |
#: templates/myaccount/form-edit-password.php:44
|
2481 |
#: templates/myaccount/form-edit-password.php:56
|
2482 |
#: templates/myaccount/form-edit-password.php:67
|
@@ -2485,39 +2480,39 @@ msgstr ""
|
|
2485 |
msgid "Show Password"
|
2486 |
msgstr ""
|
2487 |
|
2488 |
-
#: includes/class-ur-frontend-scripts.php:
|
2489 |
msgid "Password strength is not strong enough"
|
2490 |
msgstr ""
|
2491 |
|
2492 |
-
#: includes/class-ur-frontend-scripts.php:
|
2493 |
msgid "Please enter a stronger password."
|
2494 |
msgstr ""
|
2495 |
|
2496 |
-
#: includes/class-ur-frontend-scripts.php:
|
2497 |
#: includes/functions-ur-core.php:988
|
2498 |
msgid "Very Weak"
|
2499 |
msgstr ""
|
2500 |
|
2501 |
-
#: includes/class-ur-frontend-scripts.php:
|
2502 |
#: includes/functions-ur-core.php:989
|
2503 |
msgid "Weak"
|
2504 |
msgstr ""
|
2505 |
|
2506 |
-
#: includes/class-ur-frontend-scripts.php:
|
2507 |
#: includes/functions-ur-core.php:990
|
2508 |
msgid "Medium"
|
2509 |
msgstr ""
|
2510 |
|
2511 |
-
#: includes/class-ur-frontend-scripts.php:
|
2512 |
#: includes/functions-ur-core.php:991
|
2513 |
msgid "Strong"
|
2514 |
msgstr ""
|
2515 |
|
2516 |
-
#: includes/class-ur-frontend-scripts.php:
|
2517 |
msgid "Password with confirm password not matched."
|
2518 |
msgstr ""
|
2519 |
|
2520 |
-
#: includes/class-ur-frontend-scripts.php:
|
2521 |
msgid "Hint: To make password stronger, use upper and lower case letters, numbers, and symbols like ! \" ? $ % ^ & )."
|
2522 |
msgstr ""
|
2523 |
|
@@ -2609,12 +2604,6 @@ msgstr ""
|
|
2609 |
msgid "The provided license key could not be found. Please <a href=\"%s\" target=\"_blank\">contact support</a> for more information."
|
2610 |
msgstr ""
|
2611 |
|
2612 |
-
#. translators: %1$s: Activation error message
|
2613 |
-
#. translators: %1$s: Activation error message
|
2614 |
-
#. translators: %1$s: Activation error message
|
2615 |
-
#. translators: %1$s: Activation error message
|
2616 |
-
#. translators: %1$s: Activation error message
|
2617 |
-
#. translators: %1$s: Activation error message
|
2618 |
#. translators: %1$s: Activation error message
|
2619 |
#: includes/class-ur-plugin-updater.php:366
|
2620 |
#: includes/functions-ur-core.php:2366
|
@@ -2743,7 +2732,6 @@ msgstr ""
|
|
2743 |
msgid "Edit Form"
|
2744 |
msgstr ""
|
2745 |
|
2746 |
-
#. translators: %s - Form name.
|
2747 |
#. translators: %s - Form name.
|
2748 |
#: includes/class-ur-preview.php:115
|
2749 |
#: includes/class-ur-preview.php:162
|
2 |
# This file is distributed under the same license as the User Registration plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: User Registration 2.1.4.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: 2022-03-02T05:24:55+00:00\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"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
1023 |
msgstr ""
|
1024 |
|
1025 |
#: includes/admin/settings/class-ur-settings-general.php:243
|
1026 |
+
#: includes/class-ur-frontend-scripts.php:375
|
1027 |
msgid "User successfully registered."
|
1028 |
msgstr ""
|
1029 |
|
1037 |
msgstr ""
|
1038 |
|
1039 |
#: includes/admin/settings/class-ur-settings-general.php:253
|
1040 |
+
#: includes/class-ur-frontend-scripts.php:377
|
1041 |
msgid "User registered. Verify your email by clicking on the link sent to your email."
|
1042 |
msgstr ""
|
1043 |
|
1064 |
msgstr ""
|
1065 |
|
1066 |
#: includes/admin/settings/class-ur-settings-general.php:273
|
1067 |
+
#: includes/class-ur-frontend-scripts.php:376
|
1068 |
msgid "User registered. Wait until admin approves your registration."
|
1069 |
msgstr ""
|
1070 |
|
1082 |
msgstr ""
|
1083 |
|
1084 |
#: includes/admin/settings/class-ur-settings-general.php:289
|
1085 |
+
#: includes/class-ur-frontend-scripts.php:363
|
1086 |
msgid "This field is required."
|
1087 |
msgstr ""
|
1088 |
|
1103 |
msgstr ""
|
1104 |
|
1105 |
#: includes/admin/settings/class-ur-settings-general.php:307
|
1106 |
+
#: includes/class-ur-frontend-scripts.php:364
|
1107 |
msgid "Please enter a valid email address."
|
1108 |
msgstr ""
|
1109 |
|
1116 |
msgstr ""
|
1117 |
|
1118 |
#: includes/admin/settings/class-ur-settings-general.php:317
|
1119 |
+
#: includes/class-ur-frontend-scripts.php:365
|
1120 |
msgid "Please enter a valid URL."
|
1121 |
msgstr ""
|
1122 |
|
1132 |
msgstr ""
|
1133 |
|
1134 |
#: includes/admin/settings/class-ur-settings-general.php:327
|
1135 |
+
#: includes/class-ur-frontend-scripts.php:366
|
1136 |
msgid "Please enter a valid number."
|
1137 |
msgstr ""
|
1138 |
|
1146 |
msgstr ""
|
1147 |
|
1148 |
#: includes/admin/settings/class-ur-settings-general.php:337
|
1149 |
+
#: includes/class-ur-frontend-scripts.php:370
|
1150 |
msgid "Email and confirm email not matched."
|
1151 |
msgstr ""
|
1152 |
|
1160 |
msgstr ""
|
1161 |
|
1162 |
#: includes/admin/settings/class-ur-settings-general.php:347
|
1163 |
+
#: includes/class-ur-frontend-scripts.php:367
|
1164 |
msgid "Password and confirm password not matched."
|
1165 |
msgstr ""
|
1166 |
|
1176 |
#: includes/class-ur-ajax.php:147
|
1177 |
#: includes/class-ur-ajax.php:560
|
1178 |
#: includes/class-ur-form-handler.php:421
|
1179 |
+
#: includes/class-ur-frontend-scripts.php:378
|
1180 |
msgid "Captcha code error, please try again."
|
1181 |
msgstr ""
|
1182 |
|
1497 |
msgid "Site Key (reCaptcha v2)"
|
1498 |
msgstr ""
|
1499 |
|
|
|
|
|
1500 |
#. translators: %1$s - Google reCAPTCHA docs url
|
1501 |
#: includes/admin/settings/class-ur-settings-integration.php:69
|
1502 |
#: includes/admin/settings/class-ur-settings-integration.php:94
|
1508 |
msgid "Secret Key ( reCaptcha v2)"
|
1509 |
msgstr ""
|
1510 |
|
|
|
|
|
1511 |
#. translators: %1$s - Google reCAPTCHA docs url
|
1512 |
#: includes/admin/settings/class-ur-settings-integration.php:82
|
1513 |
#: includes/admin/settings/class-ur-settings-integration.php:107
|
1704 |
|
1705 |
#: includes/admin/settings/emails/class-ur-settings-admin-email.php:99
|
1706 |
msgid ""
|
1707 |
+
"Hi Admin, <br/>\n"
|
1708 |
+
"\n"
|
1709 |
+
"A new user {{username}} - {{email}} has successfully registered to your site <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\n"
|
1710 |
+
"\n"
|
1711 |
+
"Please review the user role and details at '<b>Users</b>' menu in your WP dashboard. <br/>\n"
|
1712 |
+
"\n"
|
1713 |
"Thank You!"
|
1714 |
msgstr ""
|
1715 |
|
1736 |
|
1737 |
#: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:90
|
1738 |
msgid ""
|
1739 |
+
"Hi {{username}}, <br/>\n"
|
1740 |
+
"\n"
|
1741 |
+
"You have registered on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\n"
|
1742 |
+
"\n"
|
1743 |
+
"Please wait until the site admin approves your registration. You will be notified after it is approved. <br/>\n"
|
1744 |
+
"\n"
|
1745 |
"Thank You!"
|
1746 |
msgstr ""
|
1747 |
|
1764 |
|
1765 |
#: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:82
|
1766 |
msgid ""
|
1767 |
+
"Hi {{username}}, <br/>\n"
|
1768 |
+
"\n"
|
1769 |
+
"You have registered on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\n"
|
1770 |
+
"\n"
|
1771 |
+
"Please click on this verification link {{home_url}}/{{ur_login}}?ur_token={{email_token}} to confirm registration. <br/>\n"
|
1772 |
+
"\n"
|
1773 |
"Thank You!"
|
1774 |
msgstr ""
|
1775 |
|
1793 |
|
1794 |
#: includes/admin/settings/emails/class-ur-settings-profile-details-changed-email.php:102
|
1795 |
msgid ""
|
1796 |
+
"User has changed profile information for the following account:<br/>\n"
|
1797 |
+
"\n"
|
1798 |
+
"SiteName: {{blog_info}} <br/>\n"
|
1799 |
+
"Username: {{username}} <br/>\n"
|
1800 |
+
"\n"
|
1801 |
+
"{{all_fields}}\n"
|
1802 |
+
"<br/>\n"
|
1803 |
"Thank You!"
|
1804 |
msgstr ""
|
1805 |
|
1823 |
|
1824 |
#: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:90
|
1825 |
msgid ""
|
1826 |
+
"Hi {{username}}, <br/>\n"
|
1827 |
+
"\n"
|
1828 |
+
"Your registration on <a href=\"{{home_url}}\">{{blog_info}}</a> has been approved. <br/>\n"
|
1829 |
+
"\n"
|
1830 |
+
"Please visit '<b>My Account</b>' page to edit your account details and create your user profile on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\n"
|
1831 |
+
"\n"
|
1832 |
"Thank You!"
|
1833 |
msgstr ""
|
1834 |
|
1853 |
|
1854 |
#: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:90
|
1855 |
msgid ""
|
1856 |
+
"Hi {{username}}, <br/>\n"
|
1857 |
+
"\n"
|
1858 |
+
"You have registered on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\n"
|
1859 |
+
"\n"
|
1860 |
+
"Unfortunately your registration is denied. Sorry for the inconvenience. <br/>\n"
|
1861 |
+
"\n"
|
1862 |
"Thank You!"
|
1863 |
msgstr ""
|
1864 |
|
1882 |
|
1883 |
#: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:92
|
1884 |
msgid ""
|
1885 |
+
"Hi {{username}}, <br/>\n"
|
1886 |
+
"\n"
|
1887 |
+
"Your registration on <a href=\"{{home_url}}\">{{blog_info}}</a> has been changed to pending. <br/>\n"
|
1888 |
+
"\n"
|
1889 |
+
"Sorry for the inconvenience. <br/>\n"
|
1890 |
+
"\n"
|
1891 |
+
"You will be notified after it is approved. <br/>\n"
|
1892 |
+
"\n"
|
1893 |
"Thank You!"
|
1894 |
msgstr ""
|
1895 |
|
1913 |
|
1914 |
#: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:89
|
1915 |
msgid ""
|
1916 |
+
"Someone has requested a password reset for the following account: <br/>\n"
|
1917 |
+
"\n"
|
1918 |
+
"SiteName: {{blog_info}} <br/>\n"
|
1919 |
+
"Username: {{username}} <br/>\n"
|
1920 |
+
"\n"
|
1921 |
+
"If this was a mistake, just ignore this email and nothing will happen. <br/>\n"
|
1922 |
+
"\n"
|
1923 |
+
"To reset your password, visit the following address: <br/>\n"
|
1924 |
+
"<a href=\"{{home_url}}/{{ur_login}}?action=rp&key={{key}}&login={{username}} \" rel=\"noreferrer noopener\" target=\"_blank\">Click Here</a><br/>\n"
|
1925 |
+
"\n"
|
1926 |
"Thank You!"
|
1927 |
msgstr ""
|
1928 |
|
1946 |
|
1947 |
#: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:90
|
1948 |
msgid ""
|
1949 |
+
"Hi {{username}}, <br/>\n"
|
1950 |
+
"\n"
|
1951 |
+
"You have successfully completed user registration on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\n"
|
1952 |
+
"\n"
|
1953 |
+
"Please visit '<b>My Account</b>' page to edit your account details and create your user profile on <a href=\"{{home_url}}\">{{blog_info}}</a>. <br/>\n"
|
1954 |
+
"\n"
|
1955 |
"Thank You!"
|
1956 |
msgstr ""
|
1957 |
|
2372 |
msgid "Form"
|
2373 |
msgstr ""
|
2374 |
|
|
|
2375 |
#. translators: %s - Field Label
|
2376 |
#: includes/class-ur-form-handler.php:188
|
2377 |
#: includes/frontend/class-ur-frontend-form-handler.php:473
|
2443 |
msgid "Thanks for confirming your erasure request."
|
2444 |
msgstr ""
|
2445 |
|
2446 |
+
#: includes/class-ur-frontend-scripts.php:361
|
2447 |
msgid "Uploading..."
|
2448 |
msgstr ""
|
2449 |
|
2450 |
+
#: includes/class-ur-frontend-scripts.php:368
|
2451 |
msgid "Please enter a valid phone number."
|
2452 |
msgstr ""
|
2453 |
|
2454 |
+
#: includes/class-ur-frontend-scripts.php:369
|
2455 |
msgid "Please enter a valid username."
|
2456 |
msgstr ""
|
2457 |
|
2458 |
+
#: includes/class-ur-frontend-scripts.php:371
|
2459 |
msgid "Please enter a value less than or equal to %qty%."
|
2460 |
msgstr ""
|
2461 |
|
2462 |
+
#: includes/class-ur-frontend-scripts.php:372
|
2463 |
msgid "Please enter a value greater than or equal to %qty%."
|
2464 |
msgstr ""
|
2465 |
|
2466 |
+
#: includes/class-ur-frontend-scripts.php:373
|
2467 |
msgid "Please enter a multiple of %qty%."
|
2468 |
msgstr ""
|
2469 |
|
2470 |
+
#: includes/class-ur-frontend-scripts.php:379
|
2471 |
msgid "Hide Password"
|
2472 |
msgstr ""
|
2473 |
|
2474 |
+
#: includes/class-ur-frontend-scripts.php:380
|
2475 |
#: templates/myaccount/form-edit-password.php:44
|
2476 |
#: templates/myaccount/form-edit-password.php:56
|
2477 |
#: templates/myaccount/form-edit-password.php:67
|
2480 |
msgid "Show Password"
|
2481 |
msgstr ""
|
2482 |
|
2483 |
+
#: includes/class-ur-frontend-scripts.php:381
|
2484 |
msgid "Password strength is not strong enough"
|
2485 |
msgstr ""
|
2486 |
|
2487 |
+
#: includes/class-ur-frontend-scripts.php:389
|
2488 |
msgid "Please enter a stronger password."
|
2489 |
msgstr ""
|
2490 |
|
2491 |
+
#: includes/class-ur-frontend-scripts.php:391
|
2492 |
#: includes/functions-ur-core.php:988
|
2493 |
msgid "Very Weak"
|
2494 |
msgstr ""
|
2495 |
|
2496 |
+
#: includes/class-ur-frontend-scripts.php:392
|
2497 |
#: includes/functions-ur-core.php:989
|
2498 |
msgid "Weak"
|
2499 |
msgstr ""
|
2500 |
|
2501 |
+
#: includes/class-ur-frontend-scripts.php:393
|
2502 |
#: includes/functions-ur-core.php:990
|
2503 |
msgid "Medium"
|
2504 |
msgstr ""
|
2505 |
|
2506 |
+
#: includes/class-ur-frontend-scripts.php:394
|
2507 |
#: includes/functions-ur-core.php:991
|
2508 |
msgid "Strong"
|
2509 |
msgstr ""
|
2510 |
|
2511 |
+
#: includes/class-ur-frontend-scripts.php:395
|
2512 |
msgid "Password with confirm password not matched."
|
2513 |
msgstr ""
|
2514 |
|
2515 |
+
#: includes/class-ur-frontend-scripts.php:398
|
2516 |
msgid "Hint: To make password stronger, use upper and lower case letters, numbers, and symbols like ! \" ? $ % ^ & )."
|
2517 |
msgstr ""
|
2518 |
|
2604 |
msgid "The provided license key could not be found. Please <a href=\"%s\" target=\"_blank\">contact support</a> for more information."
|
2605 |
msgstr ""
|
2606 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2607 |
#. translators: %1$s: Activation error message
|
2608 |
#: includes/class-ur-plugin-updater.php:366
|
2609 |
#: includes/functions-ur-core.php:2366
|
2732 |
msgid "Edit Form"
|
2733 |
msgstr ""
|
2734 |
|
|
|
2735 |
#. translators: %s - Form name.
|
2736 |
#: includes/class-ur-preview.php:115
|
2737 |
#: includes/class-ur-preview.php:162
|
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.9.1
|
7 |
-
Stable tag: 2.1.4
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -179,9 +179,11 @@ Here’s a brief look at the features that make User Registration one of the bes
|
|
179 |
* Admin Approval after Registration
|
180 |
* Redirect to any page or URL after registration form submission
|
181 |
* Hide/show password feature on entering password
|
182 |
-
*
|
183 |
* reCaptcha v2
|
|
|
184 |
* reCaptcha v3
|
|
|
185 |
* Honeypot spam protection
|
186 |
* Allow only whitelisted email domains to register
|
187 |
* Check user registration statistics in the plugin dashboard
|
@@ -274,6 +276,9 @@ Yes, the plugin has a shortcode for the login form.
|
|
274 |
16. User Account Page - Vertical Layout
|
275 |
|
276 |
== Changelog ==
|
|
|
|
|
|
|
277 |
= 2.1.4 - 01/03/2022
|
278 |
* Feature - hCaptcha integration.
|
279 |
* Feature - ReCaptcha v2 invisible integration.
|
4 |
Requires at least: 4.0
|
5 |
Requires PHP: 5.3
|
6 |
Tested up to: 5.9.1
|
7 |
+
Stable tag: 2.1.4.1
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
179 |
* Admin Approval after Registration
|
180 |
* Redirect to any page or URL after registration form submission
|
181 |
* Hide/show password feature on entering password
|
182 |
+
* Captcha for spam protection
|
183 |
* reCaptcha v2
|
184 |
+
* reCaptcha v2 Invisible
|
185 |
* reCaptcha v3
|
186 |
+
* hCaptcha
|
187 |
* Honeypot spam protection
|
188 |
* Allow only whitelisted email domains to register
|
189 |
* Check user registration statistics in the plugin dashboard
|
276 |
16. User Account Page - Vertical Layout
|
277 |
|
278 |
== Changelog ==
|
279 |
+
= 2.1.4.1 - 02/03/2022
|
280 |
+
* Fix - ReCaptcha backward compatibility issue.
|
281 |
+
|
282 |
= 2.1.4 - 01/03/2022
|
283 |
* Feature - hCaptcha integration.
|
284 |
* Feature - ReCaptcha v2 invisible integration.
|
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: 2.1.4
|
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 = '2.1.4';
|
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: 2.1.4.1
|
7 |
* Author: WPEverest
|
8 |
* Author URI: https://wpeverest.com
|
9 |
* Text Domain: user-registration
|
31 |
*
|
32 |
* @var string
|
33 |
*/
|
34 |
+
public $version = '2.1.4.1';
|
35 |
|
36 |
/**
|
37 |
* Session instance.
|