Version Description
- 23/05/2018 =
- Feature - Extend Data Export/Erasure tool to export/erase user extra information
- Fix - Translation ready email contents
- Fix - Apply filters to strip countries list
Download this release
Release Info
Developer | wpeverest |
Plugin | User Registration – Custom Registration Form, Login Form And User Profile For WordPress |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- includes/admin/functions-ur-admin.php +118 -0
- includes/admin/settings/emails/class-ur-settings-admin-email.php +2 -2
- includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php +2 -2
- includes/admin/settings/emails/class-ur-settings-email-confirmation.php +2 -2
- includes/admin/settings/emails/class-ur-settings-registration-approved-email.php +2 -2
- includes/admin/settings/emails/class-ur-settings-registration-denied-email.php +2 -2
- includes/admin/settings/emails/class-ur-settings-registration-pending-email.php +2 -2
- includes/admin/settings/emails/class-ur-settings-reset-password-email.php +2 -2
- includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php +2 -2
- includes/class-ur-frontend-scripts.php +1 -1
- includes/form/class-ur-country.php +2 -3
- languages/user-registration.pot +143 -7
- package-lock.json +1 -1
- readme.txt +7 -2
- user-registration.php +2 -2
includes/admin/functions-ur-admin.php
CHANGED
@@ -33,6 +33,124 @@ function ur_get_screen_ids() {
|
|
33 |
|
34 |
return apply_filters( 'user_registration_screen_ids', $screen_ids );
|
35 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
/**
|
38 |
* Create a page and store the ID in an option.
|
33 |
|
34 |
return apply_filters( 'user_registration_screen_ids', $screen_ids );
|
35 |
}
|
36 |
+
|
37 |
+
add_filter( 'wp_privacy_personal_data_exporters', 'user_registration_register_data_exporter', 10 );
|
38 |
+
add_filter( 'wp_privacy_personal_data_erasers', 'user_registration_register_data_eraser' );
|
39 |
+
|
40 |
+
function user_registration_register_data_exporter( $exporters ) {
|
41 |
+
|
42 |
+
$exporters['user-registration'] = array(
|
43 |
+
'exporter_friendly_name' => __( 'User Extra Information', 'user-registration' ),
|
44 |
+
'callback' => 'user_registration_data_exporter',
|
45 |
+
);
|
46 |
+
|
47 |
+
return $exporters;
|
48 |
+
}
|
49 |
+
|
50 |
+
function user_registration_data_exporter( $email_address, $page = 1 ) {
|
51 |
+
|
52 |
+
global $wpdb;
|
53 |
+
|
54 |
+
$form_data = array();
|
55 |
+
$posts = get_posts( 'post_type=user_registration' );
|
56 |
+
|
57 |
+
foreach( $posts as $post ) {
|
58 |
+
$post_content = isset( $post->post_content ) ? $post->post_content : '';
|
59 |
+
$post_content_array = json_decode( $post_content );
|
60 |
+
foreach ( $post_content_array as $post_content_row ) {
|
61 |
+
foreach ( $post_content_row as $post_content_grid ) {
|
62 |
+
foreach ( $post_content_grid as $field ) {
|
63 |
+
if( isset( $field->field_key ) && isset( $field->general_setting->field_name ) ) {
|
64 |
+
$form_data[ $field->general_setting->field_name ] = $field->general_setting->label;
|
65 |
+
}
|
66 |
+
}
|
67 |
+
}
|
68 |
+
}
|
69 |
+
}
|
70 |
+
|
71 |
+
$user = get_user_by( 'email', $email_address );
|
72 |
+
$user_id = isset( $user->ID ) ? $user->ID : 0;
|
73 |
+
$usermeta = $wpdb->get_results( "SELECT * FROM $wpdb->usermeta WHERE meta_key LIKE 'user_registration\_%' AND user_id = ". $user_id ." ;" );
|
74 |
+
|
75 |
+
$export_items = array();
|
76 |
+
if( $usermeta && is_array( $usermeta )) {
|
77 |
+
|
78 |
+
foreach( $usermeta as $meta ) {
|
79 |
+
|
80 |
+
$strip_prefix = substr( $meta->meta_key, 18 );
|
81 |
+
if( array_key_exists( $strip_prefix, $form_data ) ) {
|
82 |
+
|
83 |
+
if( is_serialized( $meta->meta_value ) ) {
|
84 |
+
$meta->meta_value = unserialize( $meta->meta_value );
|
85 |
+
$meta->meta_value = implode( ",", $meta->meta_value );
|
86 |
+
}
|
87 |
+
|
88 |
+
$data[] =
|
89 |
+
array( 'name' => $form_data[ $strip_prefix ],
|
90 |
+
'value' => $meta->meta_value,
|
91 |
+
);
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
+
$export_items[] = array(
|
96 |
+
'group_id' => 'user-registration',
|
97 |
+
'group_label' => __( 'User Extra Information', 'user-registration' ),
|
98 |
+
'item_id' => "user-registration-{$meta->umeta_id}",
|
99 |
+
'data' => $data,
|
100 |
+
);
|
101 |
+
}
|
102 |
+
|
103 |
+
return array(
|
104 |
+
'data' => $export_items,
|
105 |
+
'done' => true,
|
106 |
+
);
|
107 |
+
}
|
108 |
+
|
109 |
+
function user_registration_register_data_eraser( $erasers = array() ) {
|
110 |
+
$erasers['user-registration'] = array(
|
111 |
+
'eraser_friendly_name' => __( 'WordPress User Extra Information', 'user-registration' ),
|
112 |
+
'callback' => 'user_registration_data_eraser',
|
113 |
+
);
|
114 |
+
return $erasers;
|
115 |
+
}
|
116 |
+
|
117 |
+
function user_registration_data_eraser( $email_address, $page = 1 ) {
|
118 |
+
|
119 |
+
global $wpdb;
|
120 |
+
|
121 |
+
if ( empty( $email_address ) ) {
|
122 |
+
return array(
|
123 |
+
'items_removed' => false,
|
124 |
+
'items_retained' => false,
|
125 |
+
'messages' => array(),
|
126 |
+
'done' => true,
|
127 |
+
);
|
128 |
+
}
|
129 |
+
|
130 |
+
$user = get_user_by( 'email', $email_address );
|
131 |
+
|
132 |
+
$messages = array();
|
133 |
+
$items_removed = false;
|
134 |
+
$items_retained = false;
|
135 |
+
|
136 |
+
if ( $user && $user->ID ) {
|
137 |
+
$user_id = $user->ID;
|
138 |
+
$delete_usermeta = $wpdb->get_results( "DELETE FROM $wpdb->usermeta WHERE meta_key LIKE 'user_registration\_%' AND user_id = ". $user_id ." ;" );
|
139 |
+
|
140 |
+
$delete_form_data = $wpdb->get_results( "DELETE FROM $wpdb->usermeta WHERE meta_key = 'ur_form_id' AND user_id = ". $user_id ." ;");
|
141 |
+
|
142 |
+
if( $delete_usermeta && $delete_form_data ) {
|
143 |
+
$items_removed = true;
|
144 |
+
}
|
145 |
+
}
|
146 |
+
|
147 |
+
return array(
|
148 |
+
'items_removed' => $items_removed,
|
149 |
+
'items_retained' => $items_retained,
|
150 |
+
'messages' => $messages,
|
151 |
+
'done' => true,
|
152 |
+
);
|
153 |
+
}
|
154 |
|
155 |
/**
|
156 |
* Create a page and store the ID in an option.
|
includes/admin/settings/emails/class-ur-settings-admin-email.php
CHANGED
@@ -83,7 +83,7 @@ class UR_Settings_Admin_Email{
|
|
83 |
|
84 |
public function ur_get_admin_email() {
|
85 |
|
86 |
-
$message = apply_filters( 'user_registration_admin_email_message', __(
|
87 |
|
88 |
'Hi Admin,
|
89 |
<br/><br/>
|
@@ -93,7 +93,7 @@ class UR_Settings_Admin_Email{
|
|
93 |
Please review the user role and details at \'<b>Users</b>\' menu in your WP dashboard.
|
94 |
<br/>
|
95 |
<br/>
|
96 |
-
Thank You!'
|
97 |
|
98 |
return $message;
|
99 |
}
|
83 |
|
84 |
public function ur_get_admin_email() {
|
85 |
|
86 |
+
$message = apply_filters( 'user_registration_admin_email_message', sprintf( __(
|
87 |
|
88 |
'Hi Admin,
|
89 |
<br/><br/>
|
93 |
Please review the user role and details at \'<b>Users</b>\' menu in your WP dashboard.
|
94 |
<br/>
|
95 |
<br/>
|
96 |
+
Thank You!', 'user-registration' ) ) );
|
97 |
|
98 |
return $message;
|
99 |
}
|
includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php
CHANGED
@@ -87,7 +87,7 @@ class UR_Settings_Awaiting_Admin_Approval_Email{
|
|
87 |
|
88 |
public function ur_get_awaiting_admin_approval_email() {
|
89 |
|
90 |
-
$message = apply_filters( 'user_registration_get_awaiting_admin_approval_email', __(
|
91 |
|
92 |
'Hi {{username}},
|
93 |
<br/>
|
@@ -99,7 +99,7 @@ class UR_Settings_Awaiting_Admin_Approval_Email{
|
|
99 |
You will be notified after it is approved.
|
100 |
<br/>
|
101 |
<br/>
|
102 |
-
Thank You!'
|
103 |
|
104 |
return $message;
|
105 |
}
|
87 |
|
88 |
public function ur_get_awaiting_admin_approval_email() {
|
89 |
|
90 |
+
$message = apply_filters( 'user_registration_get_awaiting_admin_approval_email', sprintf( __(
|
91 |
|
92 |
'Hi {{username}},
|
93 |
<br/>
|
99 |
You will be notified after it is approved.
|
100 |
<br/>
|
101 |
<br/>
|
102 |
+
Thank You!', 'user-registration' ) ) );
|
103 |
|
104 |
return $message;
|
105 |
}
|
includes/admin/settings/emails/class-ur-settings-email-confirmation.php
CHANGED
@@ -76,7 +76,7 @@ class UR_Settings_Email_Confirmation{
|
|
76 |
|
77 |
public function ur_get_email_confirmation() {
|
78 |
|
79 |
-
$message = apply_filters( 'user_registration_get_email_confirmation', __(
|
80 |
|
81 |
'Hi {{username}},
|
82 |
<br/>
|
@@ -87,7 +87,7 @@ class UR_Settings_Email_Confirmation{
|
|
87 |
Please click on this verification link {{home_url}}/wp-login.php?ur_token={{email_token}} to confirm registration.
|
88 |
<br/>
|
89 |
<br/>
|
90 |
-
Thank You!'
|
91 |
return $message;
|
92 |
}
|
93 |
}
|
76 |
|
77 |
public function ur_get_email_confirmation() {
|
78 |
|
79 |
+
$message = apply_filters( 'user_registration_get_email_confirmation', sprintf( __(
|
80 |
|
81 |
'Hi {{username}},
|
82 |
<br/>
|
87 |
Please click on this verification link {{home_url}}/wp-login.php?ur_token={{email_token}} to confirm registration.
|
88 |
<br/>
|
89 |
<br/>
|
90 |
+
Thank You!', 'user-registration' ) ) );
|
91 |
return $message;
|
92 |
}
|
93 |
}
|
includes/admin/settings/emails/class-ur-settings-registration-approved-email.php
CHANGED
@@ -88,7 +88,7 @@ class UR_Settings_Registration_Approved_Email{
|
|
88 |
|
89 |
public function ur_get_registration_approved_email() {
|
90 |
|
91 |
-
$message = apply_filters( 'user_registration_get_registration_approved_email',
|
92 |
|
93 |
'Hi {{username}},
|
94 |
<br/>
|
@@ -98,7 +98,7 @@ class UR_Settings_Registration_Approved_Email{
|
|
98 |
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>.
|
99 |
<br/>
|
100 |
<br/>
|
101 |
-
Thank You!'
|
102 |
|
103 |
return $message;
|
104 |
}
|
88 |
|
89 |
public function ur_get_registration_approved_email() {
|
90 |
|
91 |
+
$message = apply_filters( 'user_registration_get_registration_approved_email', sprintf( __(
|
92 |
|
93 |
'Hi {{username}},
|
94 |
<br/>
|
98 |
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>.
|
99 |
<br/>
|
100 |
<br/>
|
101 |
+
Thank You!', 'user-registration' ) ) );
|
102 |
|
103 |
return $message;
|
104 |
}
|
includes/admin/settings/emails/class-ur-settings-registration-denied-email.php
CHANGED
@@ -88,7 +88,7 @@ class UR_Settings_Registration_Denied_Email{
|
|
88 |
|
89 |
public function ur_get_registration_denied_email() {
|
90 |
|
91 |
-
$message = apply_filters( 'user_registration_get_registration_denied_email', __(
|
92 |
|
93 |
'Hi {{username}},
|
94 |
<br/>
|
@@ -101,7 +101,7 @@ class UR_Settings_Registration_Denied_Email{
|
|
101 |
Sorry for the inconvenience.
|
102 |
<br/>
|
103 |
<br/>
|
104 |
-
Thank You!'
|
105 |
|
106 |
return $message;
|
107 |
}
|
88 |
|
89 |
public function ur_get_registration_denied_email() {
|
90 |
|
91 |
+
$message = apply_filters( 'user_registration_get_registration_denied_email', sprintf( __(
|
92 |
|
93 |
'Hi {{username}},
|
94 |
<br/>
|
101 |
Sorry for the inconvenience.
|
102 |
<br/>
|
103 |
<br/>
|
104 |
+
Thank You!', 'user-registration' ) ) );
|
105 |
|
106 |
return $message;
|
107 |
}
|
includes/admin/settings/emails/class-ur-settings-registration-pending-email.php
CHANGED
@@ -86,7 +86,7 @@ class UR_Settings_Registration_Pending_Email{
|
|
86 |
|
87 |
public function ur_get_registration_pending_email() {
|
88 |
|
89 |
-
$message = apply_filters( 'user_registration_get_registration_pending_email',
|
90 |
|
91 |
'Hi {{username}},
|
92 |
<br/>
|
@@ -99,7 +99,7 @@ class UR_Settings_Registration_Pending_Email{
|
|
99 |
You will be notified after it is approved.
|
100 |
<br/>
|
101 |
<br/>
|
102 |
-
Thank You!'
|
103 |
|
104 |
return $message;
|
105 |
}
|
86 |
|
87 |
public function ur_get_registration_pending_email() {
|
88 |
|
89 |
+
$message = apply_filters( 'user_registration_get_registration_pending_email', sprintf( __(
|
90 |
|
91 |
'Hi {{username}},
|
92 |
<br/>
|
99 |
You will be notified after it is approved.
|
100 |
<br/>
|
101 |
<br/>
|
102 |
+
Thank You!', 'user-registration' ) ) );
|
103 |
|
104 |
return $message;
|
105 |
}
|
includes/admin/settings/emails/class-ur-settings-reset-password-email.php
CHANGED
@@ -82,13 +82,13 @@ class UR_Settings_Reset_Password_Email{
|
|
82 |
|
83 |
public function ur_get_reset_password_email() {
|
84 |
|
85 |
-
$message = apply_filters( 'user_registration_reset_password_email_message', __(
|
86 |
'Someone has requested a password reset for the following account:
|
87 |
<br/><br/> SiteName: {{blog_info}} <br/><br/> Username: {{username}}<br/><br/>
|
88 |
If this was a mistake, just ignore this email and nothing will happen. <br/><br/>
|
89 |
To reset your password, visit the following address:<br/>
|
90 |
{{home_url}}/wp-login.php?action=rp&key={{key}}&login={{username}}<br/></br>
|
91 |
-
Thank You!'
|
92 |
|
93 |
return $message;
|
94 |
}
|
82 |
|
83 |
public function ur_get_reset_password_email() {
|
84 |
|
85 |
+
$message = apply_filters( 'user_registration_reset_password_email_message', sprintf( __(
|
86 |
'Someone has requested a password reset for the following account:
|
87 |
<br/><br/> SiteName: {{blog_info}} <br/><br/> Username: {{username}}<br/><br/>
|
88 |
If this was a mistake, just ignore this email and nothing will happen. <br/><br/>
|
89 |
To reset your password, visit the following address:<br/>
|
90 |
{{home_url}}/wp-login.php?action=rp&key={{key}}&login={{username}}<br/></br>
|
91 |
+
Thank You!', 'user-registration' ) ) );
|
92 |
|
93 |
return $message;
|
94 |
}
|
includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php
CHANGED
@@ -86,7 +86,7 @@ class UR_Settings_Successfully_Registered_Email{
|
|
86 |
|
87 |
public function ur_get_successfully_registered_email() {
|
88 |
|
89 |
-
$message = apply_filters( 'user_registration_get_successfully_registered_email',
|
90 |
|
91 |
'Hi {{username}},
|
92 |
<br/>
|
@@ -96,7 +96,7 @@ class UR_Settings_Successfully_Registered_Email{
|
|
96 |
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>.
|
97 |
<br/>
|
98 |
<br/>
|
99 |
-
Thank You!'
|
100 |
|
101 |
return $message;
|
102 |
}
|
86 |
|
87 |
public function ur_get_successfully_registered_email() {
|
88 |
|
89 |
+
$message = apply_filters( 'user_registration_get_successfully_registered_email', sprintf( __(
|
90 |
|
91 |
'Hi {{username}},
|
92 |
<br/>
|
96 |
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>.
|
97 |
<br/>
|
98 |
<br/>
|
99 |
+
Thank You!', 'user-registration' ) ) );
|
100 |
|
101 |
return $message;
|
102 |
}
|
includes/class-ur-frontend-scripts.php
CHANGED
@@ -327,7 +327,7 @@ class UR_Frontend_Scripts {
|
|
327 |
'mismatch' => __( 'Password with confirm password not matched.', 'user-registration' ),
|
328 |
|
329 |
),
|
330 |
-
'i18n_password_hint' => __( 'Hint: The password should be
|
331 |
);
|
332 |
break;
|
333 |
}
|
327 |
'mismatch' => __( 'Password with confirm password not matched.', 'user-registration' ),
|
328 |
|
329 |
),
|
330 |
+
'i18n_password_hint' => __( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols such as ! * ? $ % ^ & ).', 'user-registration' ),
|
331 |
);
|
332 |
break;
|
333 |
}
|
includes/form/class-ur-country.php
CHANGED
@@ -33,7 +33,7 @@ class UR_Country extends UR_Form_Field {
|
|
33 |
|
34 |
public function get_country() {
|
35 |
|
36 |
-
return array(
|
37 |
'AF' => __( 'Afghanistan', 'user-registration' ),
|
38 |
'AX' => __( 'Åland Islands', 'user-registration' ),
|
39 |
'AL' => __( 'Albania', 'user-registration' ),
|
@@ -283,8 +283,7 @@ class UR_Country extends UR_Form_Field {
|
|
283 |
'YE' => __( 'Yemen', 'user-registration' ),
|
284 |
'ZM' => __( 'Zambia', 'user-registration' ),
|
285 |
'ZW' => __( 'Zimbabwe', 'user-registration' ),
|
286 |
-
);
|
287 |
-
|
288 |
}
|
289 |
|
290 |
/**
|
33 |
|
34 |
public function get_country() {
|
35 |
|
36 |
+
return apply_filters( 'user_registration_countries_list', array(
|
37 |
'AF' => __( 'Afghanistan', 'user-registration' ),
|
38 |
'AX' => __( 'Åland Islands', 'user-registration' ),
|
39 |
'AL' => __( 'Albania', 'user-registration' ),
|
283 |
'YE' => __( 'Yemen', 'user-registration' ),
|
284 |
'ZM' => __( 'Zambia', 'user-registration' ),
|
285 |
'ZW' => __( 'Zimbabwe', 'user-registration' ),
|
286 |
+
) );
|
|
|
287 |
}
|
288 |
|
289 |
/**
|
languages/user-registration.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the User Registration package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: User Registration 1.3.
|
6 |
"Report-Msgid-Bugs-To: wpeverest@gmail.com\n"
|
7 |
-
"POT-Creation-Date: 2018-05-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -363,6 +363,15 @@ msgstr ""
|
|
363 |
msgid "Thank you for using User Registration."
|
364 |
msgstr ""
|
365 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
#: includes/admin/settings/class-ur-settings-email.php:37
|
367 |
msgid "Emails"
|
368 |
msgstr ""
|
@@ -705,6 +714,21 @@ msgstr ""
|
|
705 |
msgid "The email content you want to customize."
|
706 |
msgstr ""
|
707 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
708 |
#: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:25
|
709 |
msgid "Awaiting Admin Approval"
|
710 |
msgstr ""
|
@@ -728,6 +752,22 @@ msgstr ""
|
|
728 |
msgid "Thank you for registration on {{blog_info}}"
|
729 |
msgstr ""
|
730 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
731 |
#: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:24
|
732 |
#: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:35
|
733 |
msgid "Email Confirmation"
|
@@ -744,6 +784,23 @@ msgstr ""
|
|
744 |
msgid "Please confirm your registration on {{blog_info}}"
|
745 |
msgstr ""
|
746 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
747 |
#: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:25
|
748 |
#: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:36
|
749 |
msgid "Registration Approved Email"
|
@@ -764,6 +821,22 @@ msgstr ""
|
|
764 |
msgid "Congratulations! Registration approved on {{blog_info}}"
|
765 |
msgstr ""
|
766 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
767 |
#: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:25
|
768 |
#: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:36
|
769 |
msgid "Registration Denied Email"
|
@@ -778,6 +851,23 @@ msgstr ""
|
|
778 |
msgid "Sorry! Registration denied on {{blog_info}}"
|
779 |
msgstr ""
|
780 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
781 |
#: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:24
|
782 |
#: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:35
|
783 |
msgid "Registration Pending Email"
|
@@ -792,6 +882,23 @@ msgstr ""
|
|
792 |
msgid "Sorry! Registration changed to pending on {{blog_info}}"
|
793 |
msgstr ""
|
794 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
795 |
#: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:23
|
796 |
#: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:34
|
797 |
msgid "Reset Password Email"
|
@@ -810,6 +917,19 @@ msgstr ""
|
|
810 |
msgid "Password Reset Email: {{blog_info}}"
|
811 |
msgstr ""
|
812 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
813 |
#: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:25
|
814 |
#: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:36
|
815 |
msgid "Successfully Registered Email"
|
@@ -828,6 +948,22 @@ msgstr ""
|
|
828 |
msgid "Congratulations! Registration Complete on {{blog_info}}"
|
829 |
msgstr ""
|
830 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
831 |
#: includes/admin/updater/class-ur-addon-updater.php:210
|
832 |
msgid "There is a new version of %1$s available. %2$sView version %3$s details%4$s."
|
833 |
msgstr ""
|
@@ -1162,9 +1298,9 @@ msgstr ""
|
|
1162 |
|
1163 |
#: includes/class-ur-frontend-scripts.php:330
|
1164 |
msgid ""
|
1165 |
-
"Hint: The password should be
|
1166 |
-
"stronger,
|
1167 |
-
"$ % ^ & )."
|
1168 |
msgstr ""
|
1169 |
|
1170 |
#: includes/class-ur-install.php:331
|
@@ -2325,8 +2461,8 @@ msgstr ""
|
|
2325 |
msgid "Zimbabwe"
|
2326 |
msgstr ""
|
2327 |
|
2328 |
-
#: includes/form/class-ur-country.php:
|
2329 |
-
#: includes/form/class-ur-country.php:
|
2330 |
msgid "Country"
|
2331 |
msgstr ""
|
2332 |
|
2 |
# This file is distributed under the same license as the User Registration package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: User Registration 1.3.1\n"
|
6 |
"Report-Msgid-Bugs-To: wpeverest@gmail.com\n"
|
7 |
+
"POT-Creation-Date: 2018-05-23 11:29:31+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
363 |
msgid "Thank you for using User Registration."
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: includes/admin/functions-ur-admin.php:43
|
367 |
+
#: includes/admin/functions-ur-admin.php:97
|
368 |
+
msgid "User Extra Information"
|
369 |
+
msgstr ""
|
370 |
+
|
371 |
+
#: includes/admin/functions-ur-admin.php:111
|
372 |
+
msgid "WordPress User Extra Information"
|
373 |
+
msgstr ""
|
374 |
+
|
375 |
#: includes/admin/settings/class-ur-settings-email.php:37
|
376 |
msgid "Emails"
|
377 |
msgstr ""
|
714 |
msgid "The email content you want to customize."
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: includes/admin/settings/emails/class-ur-settings-admin-email.php:86
|
718 |
+
msgid ""
|
719 |
+
"Hi Admin,\r\n"
|
720 |
+
"\t\t\t\t\t<br/><br/>\r\n"
|
721 |
+
"\t\t\t\t\tA new user {{username}} - {{email}} has successfully registered "
|
722 |
+
"to your site <a href=\"{{home_url}}\">{{blog_info}}</a>.\r\n"
|
723 |
+
"\t\t\t\t\t\t<br/>\r\n"
|
724 |
+
"\t <br/>\r\n"
|
725 |
+
"\t\t\t\t\t\tPlease review the user role and details at '<b>Users</b>' menu "
|
726 |
+
"in your WP dashboard.\r\n"
|
727 |
+
"\t <br/>\r\n"
|
728 |
+
"\t <br/>\r\n"
|
729 |
+
"\t\t\t\t\t\tThank You!"
|
730 |
+
msgstr ""
|
731 |
+
|
732 |
#: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:25
|
733 |
msgid "Awaiting Admin Approval"
|
734 |
msgstr ""
|
752 |
msgid "Thank you for registration on {{blog_info}}"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:90
|
756 |
+
msgid ""
|
757 |
+
"Hi {{username}},\r\n"
|
758 |
+
" \t\t\t\t\t<br/>\r\n"
|
759 |
+
" <br/>\r\n"
|
760 |
+
" \t\t\t\t\tYou have registered on <a "
|
761 |
+
"href=\"{{home_url}}\">{{blog_info}}</a>.\r\n"
|
762 |
+
" \t\t\t\t\t<br/>\r\n"
|
763 |
+
" \t\t\t\t\tPlease wait until the site admin approves your registration.\r\n"
|
764 |
+
" \t\t\t\t\t<br/>\r\n"
|
765 |
+
" \t\t\t\t\tYou will be notified after it is approved.\r\n"
|
766 |
+
" \t\t\t\t\t<br/>\r\n"
|
767 |
+
" \t\t\t\t\t<br/>\r\n"
|
768 |
+
" \t\t\t\t\tThank You!"
|
769 |
+
msgstr ""
|
770 |
+
|
771 |
#: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:24
|
772 |
#: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:35
|
773 |
msgid "Email Confirmation"
|
784 |
msgid "Please confirm your registration on {{blog_info}}"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:79
|
788 |
+
msgid ""
|
789 |
+
"Hi {{username}},\r\n"
|
790 |
+
" \t\t\t\t\t<br/>\r\n"
|
791 |
+
" <br/>\r\n"
|
792 |
+
" \t\t\t\t\tYou have registered on <a "
|
793 |
+
"href=\"{{home_url}}\">{{blog_info}}</a>.\r\n"
|
794 |
+
" \t\t\t\t\t<br/>\r\n"
|
795 |
+
" <br/>\r\n"
|
796 |
+
" \t\t\t\t\tPlease click on this verification link "
|
797 |
+
"{{home_url}}/wp-login.php?ur_token={{email_token}} to confirm "
|
798 |
+
"registration.\r\n"
|
799 |
+
" \t\t\t\t\t<br/>\r\n"
|
800 |
+
" <br/>\r\n"
|
801 |
+
" \t\t\t\t\tThank You!"
|
802 |
+
msgstr ""
|
803 |
+
|
804 |
#: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:25
|
805 |
#: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:36
|
806 |
msgid "Registration Approved Email"
|
821 |
msgid "Congratulations! Registration approved on {{blog_info}}"
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:91
|
825 |
+
msgid ""
|
826 |
+
"Hi {{username}},\r\n"
|
827 |
+
" \t\t\t\t\t<br/>\r\n"
|
828 |
+
" <br/>\r\n"
|
829 |
+
" \t\t\t\t\tYour registration on <a href=\"{{home_url}}\">{{blog_info}}</a> "
|
830 |
+
"has been approved.\r\n"
|
831 |
+
" \t\t\t\t\t<br/>\r\n"
|
832 |
+
" \t\t\t\t\tPlease visit '<b>My Account</b>' page to edit your account "
|
833 |
+
"details and create your user profile on <a "
|
834 |
+
"href=\"{{home_url}}\">{{blog_info}}</a>.\r\n"
|
835 |
+
" <br/>\r\n"
|
836 |
+
" <br/>\r\n"
|
837 |
+
" Thank You!"
|
838 |
+
msgstr ""
|
839 |
+
|
840 |
#: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:25
|
841 |
#: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:36
|
842 |
msgid "Registration Denied Email"
|
851 |
msgid "Sorry! Registration denied on {{blog_info}}"
|
852 |
msgstr ""
|
853 |
|
854 |
+
#: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:91
|
855 |
+
msgid ""
|
856 |
+
"Hi {{username}},\r\n"
|
857 |
+
" \t\t\t\t\t<br/>\r\n"
|
858 |
+
" <br/>\r\n"
|
859 |
+
" \t\t\t\t\tYou have registered on <a "
|
860 |
+
"href=\"{{home_url}}\">{{blog_info}}</a>.\r\n"
|
861 |
+
" \t\t\t\t\t<br/>\r\n"
|
862 |
+
" \t\t\t\t\tUnfortunately your registration is denied.\r\n"
|
863 |
+
" \t\t\t\t\t<br/>\r\n"
|
864 |
+
" <br/>\r\n"
|
865 |
+
" \t\t\t\t\tSorry for the inconvenience.\r\n"
|
866 |
+
" \t\t\t\t\t<br/>\r\n"
|
867 |
+
" \t\t\t\t\t<br/>\r\n"
|
868 |
+
" \t\t\t\t\tThank You!"
|
869 |
+
msgstr ""
|
870 |
+
|
871 |
#: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:24
|
872 |
#: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:35
|
873 |
msgid "Registration Pending Email"
|
882 |
msgid "Sorry! Registration changed to pending on {{blog_info}}"
|
883 |
msgstr ""
|
884 |
|
885 |
+
#: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:89
|
886 |
+
msgid ""
|
887 |
+
"Hi {{username}},\r\n"
|
888 |
+
"\t\t\t\t\t<br/>\r\n"
|
889 |
+
" <br/>\r\n"
|
890 |
+
"\t\t\t\t\tYour registration on <a href=\"{{home_url}}\">{{blog_info}}</a> "
|
891 |
+
"has been changed to pending.\r\n"
|
892 |
+
"\t\t\t\t\t<br/>\r\n"
|
893 |
+
"\t\t\t\t\tSorry for the inconvenience.\r\n"
|
894 |
+
"\t\t\t\t\t<br/>\r\n"
|
895 |
+
" <br/>\r\n"
|
896 |
+
"\t\t\t\t\tYou will be notified after it is approved.\r\n"
|
897 |
+
"\t\t\t\t\t<br/>\r\n"
|
898 |
+
"\t\t\t\t\t<br/>\r\n"
|
899 |
+
"\t\t\t\t\tThank You!"
|
900 |
+
msgstr ""
|
901 |
+
|
902 |
#: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:23
|
903 |
#: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:34
|
904 |
msgid "Reset Password Email"
|
917 |
msgid "Password Reset Email: {{blog_info}}"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:85
|
921 |
+
msgid ""
|
922 |
+
"Someone has requested a password reset for the following account:\r\n"
|
923 |
+
"<br/><br/> SiteName: {{blog_info}} <br/><br/> Username: "
|
924 |
+
"{{username}}<br/><br/>\r\n"
|
925 |
+
"If this was a mistake, just ignore this email and nothing will happen. "
|
926 |
+
"<br/><br/>\r\n"
|
927 |
+
"To reset your password, visit the following address:<br/>\r\n"
|
928 |
+
"{{home_url}}/wp-login.php?action=rp&key={{key}}&login={{username}}<br/></"
|
929 |
+
"br>\r\n"
|
930 |
+
"Thank You!"
|
931 |
+
msgstr ""
|
932 |
+
|
933 |
#: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:25
|
934 |
#: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:36
|
935 |
msgid "Successfully Registered Email"
|
948 |
msgid "Congratulations! Registration Complete on {{blog_info}}"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:89
|
952 |
+
msgid ""
|
953 |
+
"Hi {{username}},\r\n"
|
954 |
+
"\t\t\t\t\t<br/>\r\n"
|
955 |
+
" <br/>\r\n"
|
956 |
+
"\t\t\t\t\tYou have successfully completed user registration on <a "
|
957 |
+
"href=\"{{home_url}}\">{{blog_info}}</a>.\r\n"
|
958 |
+
"\t\t\t\t\t<br/>\r\n"
|
959 |
+
"\t\t\t\t\tPlease visit '<b>My Account</b>' page to edit your account "
|
960 |
+
"details and create your user profile on <a "
|
961 |
+
"href=\"{{home_url}}\">{{blog_info}}</a>.\r\n"
|
962 |
+
" <br/>\r\n"
|
963 |
+
" <br/>\r\n"
|
964 |
+
" Thank You!"
|
965 |
+
msgstr ""
|
966 |
+
|
967 |
#: includes/admin/updater/class-ur-addon-updater.php:210
|
968 |
msgid "There is a new version of %1$s available. %2$sView version %3$s details%4$s."
|
969 |
msgstr ""
|
1298 |
|
1299 |
#: includes/class-ur-frontend-scripts.php:330
|
1300 |
msgid ""
|
1301 |
+
"Hint: The password should be at least seven characters long. To make it "
|
1302 |
+
"stronger, use upper and lower case letters, numbers and symbols such as ! * "
|
1303 |
+
"? $ % ^ & )."
|
1304 |
msgstr ""
|
1305 |
|
1306 |
#: includes/class-ur-install.php:331
|
2461 |
msgid "Zimbabwe"
|
2462 |
msgstr ""
|
2463 |
|
2464 |
+
#: includes/form/class-ur-country.php:300
|
2465 |
+
#: includes/form/class-ur-country.php:307
|
2466 |
msgid "Country"
|
2467 |
msgstr ""
|
2468 |
|
package-lock.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "user-registration",
|
3 |
-
"version": "1.3.
|
4 |
"lockfileVersion": 1,
|
5 |
"requires": true,
|
6 |
"dependencies": {
|
1 |
{
|
2 |
"name": "user-registration",
|
3 |
+
"version": "1.3.1",
|
4 |
"lockfileVersion": 1,
|
5 |
"requires": true,
|
6 |
"dependencies": {
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: WPEverest
|
|
3 |
Tags: user registration, registration, profile-builder, user profile, form, registration form, login form, user login, membership
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -93,7 +93,12 @@ Yes, the plugin is designed to work with any themes that have been coded followi
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
-
= 1.3.
|
|
|
|
|
|
|
|
|
|
|
97 |
* Refactor - user_password field for mod security reason
|
98 |
* Refactor - Meta keys and field keys
|
99 |
* Feature - Cutomizable reset password email
|
3 |
Tags: user registration, registration, profile-builder, user profile, form, registration form, login form, user login, membership
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.3.1
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 1.3.1 - 23/05/2018 =
|
97 |
+
* Feature - Extend Data Export/Erasure tool to export/erase user extra information
|
98 |
+
* Fix - Translation ready email contents
|
99 |
+
* Fix - Apply filters to strip countries list
|
100 |
+
|
101 |
+
= 1.3.0 - 11/05/2018 =
|
102 |
* Refactor - user_password field for mod security reason
|
103 |
* Refactor - Meta keys and field keys
|
104 |
* Feature - Cutomizable reset password email
|
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 and login form builder.
|
6 |
-
* Version: 1.3.
|
7 |
* Author: WPEverest
|
8 |
* Author URI: https://wpeverest.com
|
9 |
* Text Domain: user-registration
|
@@ -30,7 +30,7 @@ final class UserRegistration {
|
|
30 |
* Plugin version.
|
31 |
* @var string
|
32 |
*/
|
33 |
-
public $version = '1.3.
|
34 |
|
35 |
/**
|
36 |
* Session instance.
|
3 |
* Plugin Name: User Registration
|
4 |
* Plugin URI: https://wpeverest.com/plugins/user-registration
|
5 |
* Description: Drag and Drop user registration and login form builder.
|
6 |
+
* Version: 1.3.1
|
7 |
* Author: WPEverest
|
8 |
* Author URI: https://wpeverest.com
|
9 |
* Text Domain: user-registration
|
30 |
* Plugin version.
|
31 |
* @var string
|
32 |
*/
|
33 |
+
public $version = '1.3.1';
|
34 |
|
35 |
/**
|
36 |
* Session instance.
|