Version Description
Download this release
Release Info
Developer | storeapps |
Plugin | Temporary Login Without Password |
Version | 1.5.7 |
Comparing to | |
See all releases |
Code changes from version 1.5.6 to 1.5.7
- admin/class-wp-temporary-login-without-password-admin.php +23 -2
- admin/css/wp-temporary-login-without-password-admin.css +1 -1
- includes/class-wp-temporary-login-without-password-activator.php +2 -1
- includes/class-wp-temporary-login-without-password-common.php +23 -2
- includes/class-wp-temporary-login-without-password-layout.php +25 -15
- includes/class-wp-temporary-login-without-password.php +1 -0
- languages/temporary-login-without-password.pot +36 -28
- languages/wp-temporary-login-without-password.pot +0 -262
- public/class-wp-temporary-login-without-password-public.php +1 -1
- readme.txt +29 -22
- templates/admin_settings.php +1 -1
- temporary-login-without-password.php +5 -4
admin/class-wp-temporary-login-without-password-admin.php
CHANGED
@@ -103,6 +103,10 @@ class Wp_Temporary_Login_Without_Password_Admin {
|
|
103 |
$temporary_user_data = Wp_Temporary_Login_Without_Password_Common::get_temporary_logins_data( $user_id );
|
104 |
}
|
105 |
|
|
|
|
|
|
|
|
|
106 |
$default_role = ( ! empty( $tlwp_settings ) && isset( $tlwp_settings['default_role'] ) ) ? $tlwp_settings['default_role'] : 'administrator';
|
107 |
$visible_roles = ( ! empty( $tlwp_settings ) && isset( $tlwp_settings['visible_roles'] ) ) ? $tlwp_settings['visible_roles'] : array();
|
108 |
|
@@ -396,7 +400,7 @@ class Wp_Temporary_Login_Without_Password_Admin {
|
|
396 |
'default_error_message' => __( 'Unknown error occured', 'temporary-login-without-password' )
|
397 |
);
|
398 |
|
399 |
-
$message = $messages[$message_type];
|
400 |
|
401 |
$class = 'error';
|
402 |
} elseif ( $success ) {
|
@@ -412,7 +416,7 @@ class Wp_Temporary_Login_Without_Password_Admin {
|
|
412 |
'default_success_message' => __( 'Success!', 'temporary-login-without-password' )
|
413 |
);
|
414 |
|
415 |
-
$message = $messages[$message_type];
|
416 |
|
417 |
$class = 'updated';
|
418 |
}// End if().
|
@@ -580,6 +584,23 @@ class Wp_Temporary_Login_Without_Password_Admin {
|
|
580 |
return $actions;
|
581 |
}
|
582 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
583 |
/**
|
584 |
* Display admin bar when Temporary user logged in.
|
585 |
*
|
103 |
$temporary_user_data = Wp_Temporary_Login_Without_Password_Common::get_temporary_logins_data( $user_id );
|
104 |
}
|
105 |
|
106 |
+
if ( ! empty( $wtlwp_generated_url ) ) {
|
107 |
+
$mailto_link = Wp_Temporary_Login_Without_Password_Common::generate_mailto_link($user_email, $wtlwp_generated_url);
|
108 |
+
}
|
109 |
+
|
110 |
$default_role = ( ! empty( $tlwp_settings ) && isset( $tlwp_settings['default_role'] ) ) ? $tlwp_settings['default_role'] : 'administrator';
|
111 |
$visible_roles = ( ! empty( $tlwp_settings ) && isset( $tlwp_settings['visible_roles'] ) ) ? $tlwp_settings['visible_roles'] : array();
|
112 |
|
400 |
'default_error_message' => __( 'Unknown error occured', 'temporary-login-without-password' )
|
401 |
);
|
402 |
|
403 |
+
$message = $messages[ $message_type ];
|
404 |
|
405 |
$class = 'error';
|
406 |
} elseif ( $success ) {
|
416 |
'default_success_message' => __( 'Success!', 'temporary-login-without-password' )
|
417 |
);
|
418 |
|
419 |
+
$message = $messages[ $message_type ];
|
420 |
|
421 |
$class = 'updated';
|
422 |
}// End if().
|
584 |
return $actions;
|
585 |
}
|
586 |
|
587 |
+
/**
|
588 |
+
* Add settings link
|
589 |
+
*
|
590 |
+
* @param $links
|
591 |
+
*
|
592 |
+
* @since 1.5.7
|
593 |
+
*
|
594 |
+
* @return array
|
595 |
+
*/
|
596 |
+
public function plugin_add_settings_link( $links ) {
|
597 |
+
|
598 |
+
$settings_link = '<a href="users.php?page=wp-temporary-login-without-password&tab=settings">' . __( 'Settings' ) . '</a>';
|
599 |
+
$links[] = $settings_link;
|
600 |
+
|
601 |
+
return $links;
|
602 |
+
}
|
603 |
+
|
604 |
/**
|
605 |
* Display admin bar when Temporary user logged in.
|
606 |
*
|
admin/css/wp-temporary-login-without-password-admin.css
CHANGED
@@ -81,7 +81,7 @@
|
|
81 |
}
|
82 |
|
83 |
.copied-text-message {
|
84 |
-
padding: 20px;
|
85 |
}
|
86 |
|
87 |
.wtlp-role-radio, .wtlp-role-checkbox {
|
81 |
}
|
82 |
|
83 |
.copied-text-message {
|
84 |
+
padding: 0 20px 20px 20px;
|
85 |
}
|
86 |
|
87 |
.wtlp-role-radio, .wtlp-role-checkbox {
|
includes/class-wp-temporary-login-without-password-activator.php
CHANGED
@@ -10,6 +10,7 @@ class Wp_Temporary_Login_Without_Password_Activator {
|
|
10 |
* - Update user role for Temporary User if user exists into the system
|
11 |
* - Set temporary_logins_data option as empty
|
12 |
* - Set activation timestamp
|
|
|
13 |
*/
|
14 |
|
15 |
$temporary_logins_data = get_option( 'temporary_logins_data', array() );
|
@@ -25,9 +26,9 @@ class Wp_Temporary_Login_Without_Password_Activator {
|
|
25 |
|
26 |
$add = 'yes';
|
27 |
|
28 |
-
// Empty set
|
29 |
update_option( 'temporary_logins_data', array(), $add );
|
30 |
update_option( 'tlwp_plugin_activation_time', time(), $add );
|
|
|
31 |
|
32 |
}
|
33 |
|
10 |
* - Update user role for Temporary User if user exists into the system
|
11 |
* - Set temporary_logins_data option as empty
|
12 |
* - Set activation timestamp
|
13 |
+
* - Set plugin version
|
14 |
*/
|
15 |
|
16 |
$temporary_logins_data = get_option( 'temporary_logins_data', array() );
|
26 |
|
27 |
$add = 'yes';
|
28 |
|
|
|
29 |
update_option( 'temporary_logins_data', array(), $add );
|
30 |
update_option( 'tlwp_plugin_activation_time', time(), $add );
|
31 |
+
update_option( 'tlwp_plugin_version', WTLWP_PLUGIN_VERSION, $add );
|
32 |
|
33 |
}
|
34 |
|
includes/class-wp-temporary-login-without-password-common.php
CHANGED
@@ -658,10 +658,12 @@ class Wp_Temporary_Login_Without_Password_Common {
|
|
658 |
if ( $d >= 1 ) {
|
659 |
$r = round( $d );
|
660 |
|
|
|
|
|
661 |
if ( $ago ) {
|
662 |
-
return __( sprintf( '%d %s ago', $r,
|
663 |
} else {
|
664 |
-
return __( sprintf( '%d %s remaining', $r,
|
665 |
}
|
666 |
}
|
667 |
}
|
@@ -814,4 +816,23 @@ class Wp_Temporary_Login_Without_Password_Common {
|
|
814 |
echo $r;
|
815 |
}
|
816 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
817 |
}
|
658 |
if ( $d >= 1 ) {
|
659 |
$r = round( $d );
|
660 |
|
661 |
+
$time_string = ( $r > 1 ) ? $a_plural[ $str ] : $str;
|
662 |
+
|
663 |
if ( $ago ) {
|
664 |
+
return __( sprintf( '%d %s ago', $r, $time_string ), 'temporary-login-without-password' );
|
665 |
} else {
|
666 |
+
return __( sprintf( '%d %s remaining', $r, $time_string ), 'temporary-login-without-password' );
|
667 |
}
|
668 |
}
|
669 |
}
|
816 |
echo $r;
|
817 |
}
|
818 |
|
819 |
+
/**
|
820 |
+
* Generate mailto link to send temporary login link directly into email
|
821 |
+
*
|
822 |
+
* @param $email
|
823 |
+
* @param $temporary_login_link
|
824 |
+
*
|
825 |
+
* @since 1.5.7
|
826 |
+
*
|
827 |
+
* @return string Generated mail to link
|
828 |
+
*/
|
829 |
+
public static function generate_mailto_link( $email, $temporary_login_link ) {
|
830 |
+
|
831 |
+
$mailto_subject = __( 'Temporary Login Link', 'temporary-login-without-password' );
|
832 |
+
$mailto_body = nl2br( __( "Hello, \n\n Click on following link to login into the system. \n\n {$temporary_login_link} \n\n", 'temporary-login-without-password' ) );
|
833 |
+
|
834 |
+
$mailto_link = __( sprintf( "mailto:%s?subject=%s&body=%s", $email, $mailto_subject, $mailto_body ), 'temporary-login-without-password' );
|
835 |
+
|
836 |
+
return $mailto_link;
|
837 |
+
}
|
838 |
}
|
includes/class-wp-temporary-login-without-password-layout.php
CHANGED
@@ -118,7 +118,7 @@ class Wp_Temporary_Login_Without_Password_Layout {
|
|
118 |
|
119 |
/**
|
120 |
* @param WP_User $user
|
121 |
-
* @param string
|
122 |
*
|
123 |
* @since 1.0
|
124 |
*
|
@@ -126,26 +126,36 @@ class Wp_Temporary_Login_Without_Password_Layout {
|
|
126 |
*/
|
127 |
public static function prepare_row_actions( $user, $wtlwp_status ) {
|
128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
$action_row = '<div class="actions">';
|
130 |
|
131 |
-
$
|
|
|
|
|
|
|
|
|
132 |
|
133 |
-
$
|
134 |
-
$
|
135 |
-
$disable_login_url = Wp_Temporary_Login_Without_Password_Common::get_manage_login_url( $user_id, 'disable' );
|
136 |
-
$enable_login_url = Wp_Temporary_Login_Without_Password_Common::get_manage_login_url( $user_id, 'enable' );
|
137 |
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
$action_row .=
|
|
|
142 |
}
|
143 |
|
144 |
-
$action_row .=
|
145 |
-
$action_row .= '<span class="edit"><a title="' . __( 'Edit', 'temporary-login-without-password' ) . '" href="' . $update_login_url . '"><span class="dashicons dashicons-edit"></span></a></span>';
|
146 |
-
$action_row .= '<span class="copy"><span id="text-' . $user->ID . '" class="dashicons dashicons-admin-links wtlwp-copy-to-clipboard" title="' . __( 'Copy login link', 'temporary-login-without-password' ) . '" data-clipboard-text="' . Wp_Temporary_Login_Without_Password_Common::get_login_url( $user->ID ) . '"></span></span>';
|
147 |
-
$action_row .= '<span id="copied-text-' . $user->ID . '" class="copied-text-message"></span>';
|
148 |
-
$action_row .= '</div>';
|
149 |
|
150 |
return $action_row;
|
151 |
}
|
118 |
|
119 |
/**
|
120 |
* @param WP_User $user
|
121 |
+
* @param string $wtlwp_status
|
122 |
*
|
123 |
* @since 1.0
|
124 |
*
|
126 |
*/
|
127 |
public static function prepare_row_actions( $user, $wtlwp_status ) {
|
128 |
|
129 |
+
$is_active = ( 'active' === strtolower( $wtlwp_status ) ) ? true : false;
|
130 |
+
$user_id = $user->ID;
|
131 |
+
$email = $user->user_email;
|
132 |
+
|
133 |
+
$delete_login_url = Wp_Temporary_Login_Without_Password_Common::get_manage_login_url( $user_id, 'delete' );
|
134 |
+
$update_login_url = add_query_arg( array( 'page' => 'wp-temporary-login-without-password', 'user_id' => $user_id, 'action' => 'update' ), admin_url( 'users.php' ) );
|
135 |
+
$disable_login_url = Wp_Temporary_Login_Without_Password_Common::get_manage_login_url( $user_id, 'disable' );
|
136 |
+
$enable_login_url = Wp_Temporary_Login_Without_Password_Common::get_manage_login_url( $user_id, 'enable' );
|
137 |
+
$temporary_login_link = Wp_Temporary_Login_Without_Password_Common::get_login_url( $user_id );
|
138 |
+
$mail_to_link = Wp_Temporary_Login_Without_Password_Common::generate_mailto_link( $email, $temporary_login_link );
|
139 |
+
|
140 |
$action_row = '<div class="actions">';
|
141 |
|
142 |
+
if ( $is_active ) {
|
143 |
+
$action_row .= "<span class='disable'><a title='" . __( 'Disable', 'temporary-login-without-password' ) . "' href='{$disable_login_url}'><span class='dashicons dashicons-unlock'></span></a></span>";
|
144 |
+
} else {
|
145 |
+
$action_row .= "<span class='enable'><a title='" . __( 'Reactivate for one day', 'temporary-login-without-password' ) . "' href='{$enable_login_url}'><span class='dashicons dashicons-lock'></a></span></span>";
|
146 |
+
}
|
147 |
|
148 |
+
$action_row .= "<span class='delete'><a title='" . __( 'Delete', 'temporary-login-without-password' ) . "' href='{$delete_login_url}'><span class='dashicons dashicons-no'></span></a></span>";
|
149 |
+
$action_row .= "<span class='edit'><a title='" . __( 'Edit', 'temporary-login-without-password' ) . "' href='{$update_login_url}'><span class='dashicons dashicons-edit'></span></a></span>";
|
|
|
|
|
150 |
|
151 |
+
// Shows these link only if temporary login active
|
152 |
+
if ( $is_active ) {
|
153 |
+
$action_row .= "<span class='email'><a title='" . __( 'Email login link', 'temporary-login-without-password' ) . "' href='{$mail_to_link}'><span class='dashicons dashicons-email'></span></a></span>";
|
154 |
+
$action_row .= "<span class='copy'><span id='text-{$user_id}' class='dashicons dashicons-admin-links wtlwp-copy-to-clipboard' title='" . __( 'Copy login link', 'temporary-login-without-password' ) . "' data-clipboard-text='{$temporary_login_link}'></span></span>";
|
155 |
+
$action_row .= "<span id='copied-text-{$user_id}' class='copied-text-message'></span>";
|
156 |
}
|
157 |
|
158 |
+
$action_row .= "</div>";
|
|
|
|
|
|
|
|
|
159 |
|
160 |
return $action_row;
|
161 |
}
|
includes/class-wp-temporary-login-without-password.php
CHANGED
@@ -58,6 +58,7 @@ class Wp_Temporary_Login_Without_Password {
|
|
58 |
$this->loader->add_filter( 'wpmu_welcome_notification', $plugin_admin, 'disable_welcome_notification', 10, 5 );
|
59 |
$this->loader->add_filter( 'admin_footer_text', $plugin_admin, 'admin_footer_text', 1 );
|
60 |
$this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'disable_plugin_deactivation', 10, 4 );
|
|
|
61 |
}
|
62 |
|
63 |
private function define_public_hooks() {
|
58 |
$this->loader->add_filter( 'wpmu_welcome_notification', $plugin_admin, 'disable_welcome_notification', 10, 5 );
|
59 |
$this->loader->add_filter( 'admin_footer_text', $plugin_admin, 'admin_footer_text', 1 );
|
60 |
$this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'disable_plugin_deactivation', 10, 4 );
|
61 |
+
$this->loader->add_filter( 'plugin_action_links_' . WTLWP_PLUGIN_BASE_NAME, $plugin_admin, 'plugin_add_settings_link', 10, 4 );
|
62 |
}
|
63 |
|
64 |
private function define_public_hooks() {
|
languages/temporary-login-without-password.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: PACKAGE VERSION\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2018-
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -19,87 +19,87 @@ msgstr ""
|
|
19 |
msgid "Temporary Logins"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
23 |
msgid "User creation failed"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
27 |
msgid "You do not have permission to create a temporary login"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
31 |
msgid "Email is already in use"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
35 |
msgid "Please enter valid email address. Email field should not be empty"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
39 |
msgid "Please enter valid email address"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
43 |
msgid "User you are trying to delete is not temporary"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
47 |
msgid "Nonce failed"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
51 |
msgid "Invalid action"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
55 |
msgid "Unknown error occured"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
59 |
msgid "Login created successfully!"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
63 |
msgid "Login updated successfully!"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
67 |
msgid "Login deleted successfully!"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
71 |
msgid "Login disabled successfully!"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
75 |
msgid "Login enabled successfully!"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
79 |
msgid "Settings have been updated successfully"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
83 |
msgid "Success!"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
87 |
#, php-format
|
88 |
msgid ""
|
89 |
"If you like <strong>Temporary Login Without Password</strong> plugin, please "
|
90 |
"leave us a %s rating. A huge thanks in advance!"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
94 |
msgid "Thank You :) "
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
98 |
#, php-format
|
99 |
msgid "Thank you for using %s."
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:
|
103 |
msgid "Temporary Access"
|
104 |
msgstr ""
|
105 |
|
@@ -140,6 +140,10 @@ msgstr ""
|
|
140 |
msgid "Expired"
|
141 |
msgstr ""
|
142 |
|
|
|
|
|
|
|
|
|
143 |
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:16
|
144 |
msgid "Users"
|
145 |
msgstr ""
|
@@ -177,23 +181,27 @@ msgstr ""
|
|
177 |
msgid "Super Admin"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:
|
181 |
-
msgid "
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:
|
185 |
-
msgid "
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:
|
189 |
msgid "Delete"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:
|
193 |
msgid "Edit"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:
|
|
|
|
|
|
|
|
|
197 |
msgid "Copy login link"
|
198 |
msgstr ""
|
199 |
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: PACKAGE VERSION\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2018-04-09 07:31+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
19 |
msgid "Temporary Logins"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:392
|
23 |
msgid "User creation failed"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:393
|
27 |
msgid "You do not have permission to create a temporary login"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:394
|
31 |
msgid "Email is already in use"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:395
|
35 |
msgid "Please enter valid email address. Email field should not be empty"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:396
|
39 |
msgid "Please enter valid email address"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:397
|
43 |
msgid "User you are trying to delete is not temporary"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:398
|
47 |
msgid "Nonce failed"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:399
|
51 |
msgid "Invalid action"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:400
|
55 |
msgid "Unknown error occured"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:410
|
59 |
msgid "Login created successfully!"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:411
|
63 |
msgid "Login updated successfully!"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:412
|
67 |
msgid "Login deleted successfully!"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:413
|
71 |
msgid "Login disabled successfully!"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:414
|
75 |
msgid "Login enabled successfully!"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:415
|
79 |
msgid "Settings have been updated successfully"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:416
|
83 |
msgid "Success!"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:473
|
87 |
#, php-format
|
88 |
msgid ""
|
89 |
"If you like <strong>Temporary Login Without Password</strong> plugin, please "
|
90 |
"leave us a %s rating. A huge thanks in advance!"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:473
|
94 |
msgid "Thank You :) "
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:475
|
98 |
#, php-format
|
99 |
msgid "Thank you for using %s."
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:625
|
103 |
msgid "Temporary Access"
|
104 |
msgstr ""
|
105 |
|
140 |
msgid "Expired"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:829
|
144 |
+
msgid "Temporary Login Link"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:16
|
148 |
msgid "Users"
|
149 |
msgstr ""
|
181 |
msgid "Super Admin"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:143
|
185 |
+
msgid "Disable"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:145
|
189 |
+
msgid "Reactivate for one day"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:148
|
193 |
msgid "Delete"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:149
|
197 |
msgid "Edit"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:153
|
201 |
+
msgid "Email login link"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:154
|
205 |
msgid "Copy login link"
|
206 |
msgstr ""
|
207 |
|
languages/wp-temporary-login-without-password.pot
DELETED
@@ -1,262 +0,0 @@
|
|
1 |
-
#, fuzzy
|
2 |
-
msgid ""
|
3 |
-
msgstr ""
|
4 |
-
"Project-Id-Version: WP Temporary Login Without Password\n"
|
5 |
-
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2017-06-23 03:40+0000\n"
|
7 |
-
"POT-Revision-Date: Wed Aug 03 2016 14:53:20 GMT+0530 (IST)\n"
|
8 |
-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
9 |
-
"Last-Translator: \n"
|
10 |
-
"Language-Team: \n"
|
11 |
-
"Language: \n"
|
12 |
-
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION\n"
|
13 |
-
"MIME-Version: 1.0\n"
|
14 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
-
"Content-Transfer-Encoding: 8bit\n"
|
16 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
-
"X-Poedit-Basepath: .\n"
|
18 |
-
"X-Poedit-SearchPath-0: ..\n"
|
19 |
-
"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
|
20 |
-
"__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
21 |
-
"_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
|
22 |
-
"esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
|
23 |
-
"esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
24 |
-
"X-Generator: Loco - https://localise.biz/"
|
25 |
-
|
26 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:36
|
27 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:36
|
28 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/admin_settings.php:3
|
29 |
-
msgid "Temporary Logins"
|
30 |
-
msgstr ""
|
31 |
-
|
32 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:249
|
33 |
-
msgid "User creation failed"
|
34 |
-
msgstr ""
|
35 |
-
|
36 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:253
|
37 |
-
msgid "You do not have permission to create a temporary login"
|
38 |
-
msgstr ""
|
39 |
-
|
40 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:257
|
41 |
-
msgid "Email already is in use"
|
42 |
-
msgstr ""
|
43 |
-
|
44 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:261
|
45 |
-
msgid "Please enter valid email address. Email field should not be empty"
|
46 |
-
msgstr ""
|
47 |
-
|
48 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:265
|
49 |
-
msgid "Please enter valid email address"
|
50 |
-
msgstr ""
|
51 |
-
|
52 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:269
|
53 |
-
msgid "User you are trying to delete is not temporary"
|
54 |
-
msgstr ""
|
55 |
-
|
56 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:273
|
57 |
-
msgid "Nonce failed"
|
58 |
-
msgstr ""
|
59 |
-
|
60 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:277
|
61 |
-
msgid "Invalid action"
|
62 |
-
msgstr ""
|
63 |
-
|
64 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:282
|
65 |
-
msgid "Unknown error occured"
|
66 |
-
msgstr ""
|
67 |
-
|
68 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:290
|
69 |
-
msgid "Login created successfully!"
|
70 |
-
msgstr ""
|
71 |
-
|
72 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:294
|
73 |
-
msgid "Login deleted successfully!"
|
74 |
-
msgstr ""
|
75 |
-
|
76 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:298
|
77 |
-
msgid "Login disabled successfully!"
|
78 |
-
msgstr ""
|
79 |
-
|
80 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:302
|
81 |
-
msgid "Login enabled successfully!"
|
82 |
-
msgstr ""
|
83 |
-
|
84 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:306
|
85 |
-
msgid "Success!"
|
86 |
-
msgstr ""
|
87 |
-
|
88 |
-
#. %s: five stars
|
89 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:361
|
90 |
-
#, php-format
|
91 |
-
msgid ""
|
92 |
-
"If you like <strong>Temporary Login Without Password</strong> please leave "
|
93 |
-
"us a %s rating. A huge thanks in advance!"
|
94 |
-
msgstr ""
|
95 |
-
|
96 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:361
|
97 |
-
msgid "Thank You :)"
|
98 |
-
msgstr ""
|
99 |
-
|
100 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:369
|
101 |
-
#, php-format
|
102 |
-
msgid "Thank you for using %s."
|
103 |
-
msgstr ""
|
104 |
-
|
105 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:83
|
106 |
-
msgid "Three Days"
|
107 |
-
msgstr ""
|
108 |
-
|
109 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:84
|
110 |
-
msgid "One Day"
|
111 |
-
msgstr ""
|
112 |
-
|
113 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:85
|
114 |
-
msgid "Three Hours"
|
115 |
-
msgstr ""
|
116 |
-
|
117 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:86
|
118 |
-
msgid "One Hour"
|
119 |
-
msgstr ""
|
120 |
-
|
121 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:87
|
122 |
-
msgid "One Week"
|
123 |
-
msgstr ""
|
124 |
-
|
125 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:88
|
126 |
-
msgid "One Month"
|
127 |
-
msgstr ""
|
128 |
-
|
129 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:89
|
130 |
-
msgid "Custom Date"
|
131 |
-
msgstr ""
|
132 |
-
|
133 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:448
|
134 |
-
msgid "Expired"
|
135 |
-
msgstr ""
|
136 |
-
|
137 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:9
|
138 |
-
msgid "Users"
|
139 |
-
msgstr ""
|
140 |
-
|
141 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:10
|
142 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/new_login.php:19
|
143 |
-
msgid "Role"
|
144 |
-
msgstr ""
|
145 |
-
|
146 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:11
|
147 |
-
msgid "Last Logged In"
|
148 |
-
msgstr ""
|
149 |
-
|
150 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:12
|
151 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/new_login.php:27
|
152 |
-
msgid "Expiry"
|
153 |
-
msgstr ""
|
154 |
-
|
155 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:13
|
156 |
-
msgid "Actions"
|
157 |
-
msgstr ""
|
158 |
-
|
159 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:24
|
160 |
-
msgid "You have not created any temporary logins yet."
|
161 |
-
msgstr ""
|
162 |
-
|
163 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:42
|
164 |
-
msgid "Not yet logged in"
|
165 |
-
msgstr ""
|
166 |
-
|
167 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:107
|
168 |
-
msgid "Reactivate for one day"
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:109
|
172 |
-
msgid "Disable"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:112
|
176 |
-
msgid "Delete"
|
177 |
-
msgstr ""
|
178 |
-
|
179 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-layout.php:113
|
180 |
-
msgid "Copy login link"
|
181 |
-
msgstr ""
|
182 |
-
|
183 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/public/class-wp-temporary-login-without-password-public.php:16
|
184 |
-
msgid "Token empty"
|
185 |
-
msgstr ""
|
186 |
-
|
187 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/public/class-wp-temporary-login-without-password-public.php:17
|
188 |
-
msgid "Authentication failed"
|
189 |
-
msgstr ""
|
190 |
-
|
191 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/public/class-wp-temporary-login-without-password-public.php:74
|
192 |
-
msgid "You don't have permission to access this page"
|
193 |
-
msgstr ""
|
194 |
-
|
195 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/admin_settings.php:3
|
196 |
-
msgid "Create New"
|
197 |
-
msgstr ""
|
198 |
-
|
199 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/admin_settings.php:13
|
200 |
-
msgid "Here's a temporary login link"
|
201 |
-
msgstr ""
|
202 |
-
|
203 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/admin_settings.php:15
|
204 |
-
msgid "Click To Copy"
|
205 |
-
msgstr ""
|
206 |
-
|
207 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/admin_settings.php:17
|
208 |
-
msgid ""
|
209 |
-
"User can directly login to wordpress admin panel without username and "
|
210 |
-
"password by opening this link."
|
211 |
-
msgstr ""
|
212 |
-
|
213 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/new_login.php:1
|
214 |
-
msgid "Create a new Temporary Login"
|
215 |
-
msgstr ""
|
216 |
-
|
217 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/new_login.php:5
|
218 |
-
msgid "Email*"
|
219 |
-
msgstr ""
|
220 |
-
|
221 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/new_login.php:10
|
222 |
-
msgid "First Name"
|
223 |
-
msgstr ""
|
224 |
-
|
225 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/new_login.php:15
|
226 |
-
msgid "Last Name"
|
227 |
-
msgstr ""
|
228 |
-
|
229 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/new_login.php:44
|
230 |
-
msgid "Submit"
|
231 |
-
msgstr ""
|
232 |
-
|
233 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/new_login.php:44
|
234 |
-
msgid "or"
|
235 |
-
msgstr ""
|
236 |
-
|
237 |
-
#: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/new_login.php:44
|
238 |
-
msgid "Cancel"
|
239 |
-
msgstr ""
|
240 |
-
|
241 |
-
#. Name of the plugin
|
242 |
-
msgid "Temporary Login Without Password"
|
243 |
-
msgstr ""
|
244 |
-
|
245 |
-
#. Description of the plugin
|
246 |
-
msgid ""
|
247 |
-
"Create a temporary login link with any role using which one can access to "
|
248 |
-
"your sytem without username and password for limited period of time."
|
249 |
-
msgstr ""
|
250 |
-
|
251 |
-
#. URI of the plugin
|
252 |
-
msgid ""
|
253 |
-
"http://www.storeapps.org/create-secure-login-without-password-for-wordpress/"
|
254 |
-
msgstr ""
|
255 |
-
|
256 |
-
#. Author of the plugin
|
257 |
-
msgid "StoreApps"
|
258 |
-
msgstr ""
|
259 |
-
|
260 |
-
#. URI of the plugin
|
261 |
-
msgid "http://storeapps.org"
|
262 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public/class-wp-temporary-login-without-password-public.php
CHANGED
@@ -28,7 +28,7 @@ class Wp_Temporary_Login_Without_Password_Public {
|
|
28 |
|
29 |
if ( ! is_user_logged_in() && ! empty( $_GET['wtlwp_token'] ) ) {
|
30 |
|
31 |
-
$wtlwp_token = $_GET['wtlwp_token'];
|
32 |
$users = Wp_Temporary_Login_Without_Password_Common::get_valid_user_based_on_wtlwp_token( $wtlwp_token );
|
33 |
|
34 |
if ( empty( $users ) ) {
|
28 |
|
29 |
if ( ! is_user_logged_in() && ! empty( $_GET['wtlwp_token'] ) ) {
|
30 |
|
31 |
+
$wtlwp_token = sanitize_key($_GET['wtlwp_token']);
|
32 |
$users = Wp_Temporary_Login_Without_Password_Common::get_valid_user_based_on_wtlwp_token( $wtlwp_token );
|
33 |
|
34 |
if ( empty( $users ) ) {
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: storeapps, niravmehta, malayladu
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CPTHCDC382KVA
|
4 |
Tags: admin login, developer account, customer access, temporary login, passwordless login, customer login, secure login, access, admin, log in, login, login security, protection, user login, user login, wordpress admin login, wordpress login, wp-admin, wp-login, expiration, login, Login Without Password, user, WordPress Admin, wp-admin, developer login
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -44,41 +44,48 @@ If you like Temporary Login Without Password, please leave a five star review on
|
|
44 |
|
45 |
== Changelog ==
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
**1.5.6 [03-14-2018]**
|
48 |
|
49 |
-
*
|
50 |
|
51 |
**1.5.5 [03-05-2018]**
|
52 |
|
53 |
-
*
|
54 |
-
*
|
55 |
-
*
|
56 |
|
57 |
**1.5.4 [02-20-2018]**
|
58 |
|
59 |
-
*
|
60 |
|
61 |
**1.5.3 [02-06-2018]**
|
62 |
|
63 |
-
*
|
64 |
|
65 |
**1.5.2 [01-29-2018]**
|
66 |
|
67 |
-
*
|
68 |
-
*
|
69 |
|
70 |
**1.5.1 [01-19-2018]**
|
71 |
|
72 |
-
*
|
73 |
|
74 |
**1.5 [01-08-2018]**
|
75 |
|
76 |
-
*
|
77 |
* Update: Restrict Temporary user to delete other users.
|
78 |
|
79 |
**1.4.6 [11-18-2017]**
|
80 |
|
81 |
-
*
|
82 |
|
83 |
**1.4.5 [11-13-2017]**
|
84 |
|
@@ -86,19 +93,19 @@ If you like Temporary Login Without Password, please leave a five star review on
|
|
86 |
|
87 |
**1.4.4 [10-23-2017]**
|
88 |
|
89 |
-
*
|
90 |
|
91 |
**1.4.3 [08-04-2017]**
|
92 |
|
93 |
-
*
|
94 |
|
95 |
**1.4.2 [06-28-2017]**
|
96 |
|
97 |
-
*
|
98 |
|
99 |
**1.4.1 [06-23-2017]**
|
100 |
|
101 |
-
*
|
102 |
|
103 |
**1.4 [09-07-2016]**
|
104 |
|
@@ -106,17 +113,17 @@ If you like Temporary Login Without Password, please leave a five star review on
|
|
106 |
|
107 |
**1.3 [09-01-2016]**
|
108 |
|
109 |
-
*
|
110 |
-
*
|
111 |
-
*
|
112 |
|
113 |
**1.2 [09-01-2016]**
|
114 |
|
115 |
-
*
|
116 |
|
117 |
**1.1 [08-05-2016]**
|
118 |
|
119 |
-
*
|
120 |
|
121 |
**1.0 [08-04-2016]**
|
122 |
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CPTHCDC382KVA
|
4 |
Tags: admin login, developer account, customer access, temporary login, passwordless login, customer login, secure login, access, admin, log in, login, login security, protection, user login, user login, wordpress admin login, wordpress login, wp-admin, wp-login, expiration, login, Login Without Password, user, WordPress Admin, wp-admin, developer login
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 4.9.5
|
7 |
+
Stable tag: 1.5.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
44 |
|
45 |
== Changelog ==
|
46 |
|
47 |
+
**1.5.7 [04-11-2018]**
|
48 |
+
|
49 |
+
* Update: Added settings link on Plugins page
|
50 |
+
* Update: URL parameters sanitized as keys (Thanks to [@danielgm](https://wordpress.org/support/users/danielgm/))
|
51 |
+
* Update: Paste temporary login link directly into email
|
52 |
+
* Fix: Lock and delete icon not clickable (Thanks to [@danielgm](https://wordpress.org/support/users/danielgm/))
|
53 |
+
|
54 |
**1.5.6 [03-14-2018]**
|
55 |
|
56 |
+
* Fix: Datepicker doesn't show up when edit temporary login and select "custom date" value from expiry time dropdown
|
57 |
|
58 |
**1.5.5 [03-05-2018]**
|
59 |
|
60 |
+
* Update: Set default expiry time as a "Week" for new temporary login instead of an "Hour".
|
61 |
+
* Fix: PHP Warning: in_array() expects parameter 2 to be array, string given in temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php
|
62 |
+
* Fix: Existing temporary user's role is not available into roles dropdown while edit.
|
63 |
|
64 |
**1.5.4 [02-20-2018]**
|
65 |
|
66 |
+
* Fix: Invalid argument supplied for foreach() PHP Warning in class-wp-temporary-login-without-password-deactivator.php
|
67 |
|
68 |
**1.5.3 [02-06-2018]**
|
69 |
|
70 |
+
* Update: Now, admin can change the role and expiry of temporary login
|
71 |
|
72 |
**1.5.2 [01-29-2018]**
|
73 |
|
74 |
+
* Update: Now, admin can select roles from which they want to create a Tempoary Login.
|
75 |
+
* Fix: Temporary User with 'administrator' role shows as a 'Super Admin' for WordPress single site installation.
|
76 |
|
77 |
**1.5.1 [01-19-2018]**
|
78 |
|
79 |
+
* Fix: Parse error: syntax error, unexpected ‘[‘ (PHP < 5.4)
|
80 |
|
81 |
**1.5 [01-08-2018]**
|
82 |
|
83 |
+
* Update: Now, Temporary Login can be created for WordPress Multisite. Super Admin can create a temporary super admin for multisite
|
84 |
* Update: Restrict Temporary user to delete other users.
|
85 |
|
86 |
**1.4.6 [11-18-2017]**
|
87 |
|
88 |
+
* Update: Now, admin can set the default role for temporary user from settings panel
|
89 |
|
90 |
**1.4.5 [11-13-2017]**
|
91 |
|
93 |
|
94 |
**1.4.4 [10-23-2017]**
|
95 |
|
96 |
+
* Fix: Trying to load scripts from unauthorized sources error.
|
97 |
|
98 |
**1.4.3 [08-04-2017]**
|
99 |
|
100 |
+
* Fix: Localization issue
|
101 |
|
102 |
**1.4.2 [06-28-2017]**
|
103 |
|
104 |
+
* Fix: Uncaught Error: Call to undefined function wc_enqueue_js().
|
105 |
|
106 |
**1.4.1 [06-23-2017]**
|
107 |
|
108 |
+
* Update: Now, create a temporary login with custom expiry date.
|
109 |
|
110 |
**1.4 [09-07-2016]**
|
111 |
|
113 |
|
114 |
**1.3 [09-01-2016]**
|
115 |
|
116 |
+
* Fix: Temporary user is able to login with email address. Now onwards, temporary user is not able to login using username/email and password
|
117 |
+
* Fix: Temporary user was able to reset password. Now onwards, they won't be able to reset password.
|
118 |
+
* Update: Now, role of temporary user is downgrade to "none" on deactivation of plugin and change to default on re activation of plugin
|
119 |
|
120 |
**1.2 [09-01-2016]**
|
121 |
|
122 |
+
* Fix: Temporary user is able to login with username and password.
|
123 |
|
124 |
**1.1 [08-05-2016]**
|
125 |
|
126 |
+
* Fix: Temporary user redirected to login page instead of admin dashboard after successful login.
|
127 |
|
128 |
**1.0 [08-04-2016]**
|
129 |
|
templates/admin_settings.php
CHANGED
@@ -41,7 +41,7 @@
|
|
41 |
<?php
|
42 |
_e( 'User can directly login to wordpress admin panel without username and password by opening this link.', 'temporary-login-without-password' );
|
43 |
if ( ! empty( $user_email ) ) {
|
44 |
-
echo __( sprintf( " <a href='
|
45 |
}
|
46 |
?>
|
47 |
</p>
|
41 |
<?php
|
42 |
_e( 'User can directly login to wordpress admin panel without username and password by opening this link.', 'temporary-login-without-password' );
|
43 |
if ( ! empty( $user_email ) ) {
|
44 |
+
echo __( sprintf( " <a href='{$mailto_link}'>Email</a> temporary login link to user."), 'temporary-login-without-password' );
|
45 |
}
|
46 |
?>
|
47 |
</p>
|
temporary-login-without-password.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Plugin Name: Temporary Login Without Password
|
4 |
* Plugin URI: http://www.storeapps.org/create-secure-login-without-password-for-wordpress/
|
5 |
* Description: Create a temporary login link with any role using which one can access to your sytem without username and password for limited period of time.
|
6 |
-
* Version: 1.5.
|
7 |
* Author: StoreApps
|
8 |
* Author URI: http://storeapps.org
|
9 |
-
* Requires at least: 3.
|
10 |
-
* Tested up to: 4.9.
|
11 |
* License: GPL-2.0+
|
12 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
13 |
* Text Domain: temporary-login-without-password
|
@@ -24,7 +24,8 @@ if ( ! defined( 'WPINC' ) ) {
|
|
24 |
* Define constants
|
25 |
*/
|
26 |
define( 'WTLWP_PLUGIN_DIR', dirname( __FILE__ ) );
|
27 |
-
define( 'WTLWP_PLUGIN_VERSION', '1.5.
|
|
|
28 |
|
29 |
/**
|
30 |
* Deactivate Temporary Login Without Password
|
3 |
* Plugin Name: Temporary Login Without Password
|
4 |
* Plugin URI: http://www.storeapps.org/create-secure-login-without-password-for-wordpress/
|
5 |
* Description: Create a temporary login link with any role using which one can access to your sytem without username and password for limited period of time.
|
6 |
+
* Version: 1.5.7
|
7 |
* Author: StoreApps
|
8 |
* Author URI: http://storeapps.org
|
9 |
+
* Requires at least: 3.0.1
|
10 |
+
* Tested up to: 4.9.5
|
11 |
* License: GPL-2.0+
|
12 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
13 |
* Text Domain: temporary-login-without-password
|
24 |
* Define constants
|
25 |
*/
|
26 |
define( 'WTLWP_PLUGIN_DIR', dirname( __FILE__ ) );
|
27 |
+
define( 'WTLWP_PLUGIN_VERSION', '1.5.7');
|
28 |
+
define( 'WTLWP_PLUGIN_BASE_NAME', plugin_basename(__FILE__));
|
29 |
|
30 |
/**
|
31 |
* Deactivate Temporary Login Without Password
|