Temporary Login Without Password - Version 1.6.3

Version Description

Download this release

Release Info

Developer storeapps
Plugin Icon 128x128 Temporary Login Without Password
Version 1.6.3
Comparing to
See all releases

Code changes from version 1.6.2 to 1.6.3

admin/class-wp-temporary-login-without-password-admin.php CHANGED
@@ -97,6 +97,10 @@ class Wp_Temporary_Login_Without_Password_Admin {
97
  wp_localize_script( $this->plugin_name, 'data', $data );
98
 
99
  }
 
 
 
 
100
  }
101
 
102
  /**
@@ -123,7 +127,6 @@ class Wp_Temporary_Login_Without_Password_Admin {
123
  }
124
 
125
 
126
-
127
  /**
128
  * Manage admin settings
129
  *
@@ -426,7 +429,7 @@ class Wp_Temporary_Login_Without_Password_Admin {
426
  *
427
  * @since 1.0
428
  */
429
- public function display_admin_notices() {
430
 
431
  if ( empty( $_REQUEST['page'] ) || ( empty( $_REQUEST['page'] ) && 'wp-temporary-login-without-password' !== $_REQUEST['page'] ) || ! isset( $_REQUEST['wtlwp_message'] ) || ( ! isset( $_REQUEST['wtlwp_error'] ) && ! isset( $_REQUEST['wtlwp_success'] ) ) ) { // Input var okay.
432
  return;
@@ -519,7 +522,6 @@ class Wp_Temporary_Login_Without_Password_Admin {
519
  $current_user_id = get_current_user_id();
520
  if ( Wp_Temporary_Login_Without_Password_Common::is_valid_temporary_login( $current_user_id ) && ( 'temporary-login-without-password/temporary-login-without-password.php' === $plugin_file ) ) {
521
  unset( $actions['deactivate'] );
522
- echo "<script> jQuery(document).ready(function() { jQuery('table.plugins tbody#the-list tr[data-slug=temporary-login-without-password] th.check-column input').attr('disabled', true); }); </script>";
523
  }
524
 
525
  return $actions;
@@ -560,7 +562,7 @@ class Wp_Temporary_Login_Without_Password_Admin {
560
  $wp_admin_bar->add_menu(
561
  array(
562
  'id' => 'temporay-access-notice',
563
- 'href' => admin_url('users.php?page=wp-temporary-login-without-password'),
564
  'parent' => 'top-secondary',
565
  'title' => __( 'Temporary Access', 'temporary-login-without-password' ),
566
  'meta' => array( 'class' => 'temporay-access-mode-active' ),
@@ -572,8 +574,8 @@ class Wp_Temporary_Login_Without_Password_Admin {
572
  }
573
 
574
  /**
575
- * Add temporary access bar css
576
- *
577
  * @since 1.6.2
578
  */
579
  function tlwp_test_mode_notice_admin_bar_css() {
@@ -596,4 +598,60 @@ class Wp_Temporary_Login_Without_Password_Admin {
596
  <?php
597
  }
598
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
599
  }
97
  wp_localize_script( $this->plugin_name, 'data', $data );
98
 
99
  }
100
+
101
+ if ( ! wp_script_is( 'tlwp-common', 'enqueued' ) ) {
102
+ wp_enqueue_script( 'tlwp-common', plugin_dir_url( __FILE__ ) . 'js/common.js', array( 'jquery' ), $this->version, false );
103
+ }
104
  }
105
 
106
  /**
127
  }
128
 
129
 
 
130
  /**
131
  * Manage admin settings
132
  *
429
  *
430
  * @since 1.0
431
  */
432
+ public function tlwp_display_admin_notices() {
433
 
434
  if ( empty( $_REQUEST['page'] ) || ( empty( $_REQUEST['page'] ) && 'wp-temporary-login-without-password' !== $_REQUEST['page'] ) || ! isset( $_REQUEST['wtlwp_message'] ) || ( ! isset( $_REQUEST['wtlwp_error'] ) && ! isset( $_REQUEST['wtlwp_success'] ) ) ) { // Input var okay.
435
  return;
522
  $current_user_id = get_current_user_id();
523
  if ( Wp_Temporary_Login_Without_Password_Common::is_valid_temporary_login( $current_user_id ) && ( 'temporary-login-without-password/temporary-login-without-password.php' === $plugin_file ) ) {
524
  unset( $actions['deactivate'] );
 
525
  }
526
 
527
  return $actions;
562
  $wp_admin_bar->add_menu(
563
  array(
564
  'id' => 'temporay-access-notice',
565
+ 'href' => admin_url( 'users.php?page=wp-temporary-login-without-password' ),
566
  'parent' => 'top-secondary',
567
  'title' => __( 'Temporary Access', 'temporary-login-without-password' ),
568
  'meta' => array( 'class' => 'temporay-access-mode-active' ),
574
  }
575
 
576
  /**
577
+ * Add temporary access bar css
578
+ *
579
  * @since 1.6.2
580
  */
581
  function tlwp_test_mode_notice_admin_bar_css() {
598
  <?php
599
  }
600
 
601
+ /**
602
+ * Remove all unwanted admin notices
603
+ *
604
+ * @since 1.6.3
605
+ */
606
+ public function remove_admin_notices() {
607
+ global $wp_filter;
608
+
609
+ if ( ! $this->is_plugin_page() ) {
610
+ return;
611
+ }
612
+
613
+ $allow_display_notices = array(
614
+ 'show_review_notice',
615
+ 'tlwp_display_admin_notices'
616
+ );
617
+
618
+ $filters = array(
619
+ 'admin_notices',
620
+ 'user_admin_notices',
621
+ 'all_admin_notices'
622
+ );
623
+
624
+ foreach ( $filters as $filter ) {
625
+
626
+ if ( ! empty( $wp_filter[ $filter ]->callbacks ) && is_array( $wp_filter[ $filter ]->callbacks ) ) {
627
+
628
+ foreach ( $wp_filter[ $filter ]->callbacks as $priority => $callbacks ) {
629
+
630
+ foreach ( $callbacks as $name => $details ) {
631
+
632
+ if ( is_object( $details['function'] ) && $details['function'] instanceof \Closure ) {
633
+ unset( $wp_filter[ $filter ]->callbacks[ $priority ][ $name ] );
634
+ continue;
635
+ }
636
+
637
+ if ( ! empty( $details['function'][0] ) && is_object( $details['function'][0] ) && count( $details['function'] ) == 2 ) {
638
+ $notice_callback_name = $details['function'][1];
639
+ if ( ! in_array( $notice_callback_name, $allow_display_notices ) ) {
640
+ unset( $wp_filter[ $filter ]->callbacks[ $priority ][ $name ] );
641
+ }
642
+ }
643
+
644
+ if ( ! empty( $details['function'] ) && is_string( $details['function'] ) ) {
645
+ if ( ! in_array( $details['function'], $allow_display_notices ) ) {
646
+ unset( $wp_filter[ $filter ]->callbacks[ $priority ][ $name ] );
647
+ }
648
+ }
649
+ }
650
+ }
651
+ }
652
+
653
+ }
654
+
655
+ }
656
+
657
  }
admin/js/common.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function ($) {
2
+ 'use strict';
3
+
4
+ $(document).ready(function () {
5
+ var elem = 'table.plugins tbody#the-list tr[data-slug=temporary-login-without-password] th.check-column input';
6
+ if ($(elem).get(0)) {
7
+ $(elem).attr('disabled', true);
8
+ $(elem).hide();
9
+ }
10
+ });
11
+
12
+ })(jQuery);
admin/js/wp-temporary-login-without-password-admin.js CHANGED
@@ -7,97 +7,97 @@
7
  (function ($) {
8
  'use strict';
9
 
10
- jQuery( document ).ready(
11
  function () {
12
 
13
- jQuery( '#add-new-wtlwp-form-button' ).click(
14
  function () {
15
- jQuery( '#new-wtlwp-form' ).show();
16
- jQuery( '#update-wtlwp-form' ).hide();
17
  }
18
  );
19
 
20
- jQuery( '#cancel-new-login-form' ).click(
21
  function () {
22
- jQuery( '#new-wtlwp-form' ).hide();
23
- jQuery( '#update-wtlwp-form' ).show();
24
  }
25
  );
26
 
27
- jQuery( '#cancel-update-login-form' ).click(
28
  function () {
29
- jQuery( '#update-wtlwp-form' ).hide();
30
  }
31
  );
32
 
33
- if (jQuery( '.wtlwp-click-to-copy-btn' ).get( 0 )) {
34
 
35
- var clipboard = new Clipboard( '.wtlwp-click-to-copy-btn' );
36
 
37
  clipboard.on(
38
  'success', function (e) {
39
- var elem = e.trigger;
40
- var className = elem.getAttribute( 'class' );
41
- jQuery( '#copied-text-message-' + className ).text( 'Copied' ).fadeIn();
42
- jQuery( '#copied-text-message-' + className ).fadeOut( 'slow' );
43
  }
44
  );
45
  }
46
 
47
- if (jQuery( '.wtlwp-copy-to-clipboard' ).get( 0 )) {
48
- var clipboard_link = new Clipboard( '.wtlwp-copy-to-clipboard' );
49
 
50
  clipboard_link.on(
51
  'success', function (e) {
52
  var elem = e.trigger;
53
- var id = elem.getAttribute( 'id' );
54
- jQuery( '#copied-' + id ).text( 'Copied' ).fadeIn();
55
- jQuery( '#copied-' + id ).fadeOut( 'slow' );
56
  }
57
  );
58
  }
59
 
60
- jQuery( '#new-user-expiry-time' ).change(
61
  function () {
62
- var value = jQuery( this ).val();
63
- showDatePicker( value, 'new' );
64
  }
65
  );
66
 
67
- jQuery( '#update-user-expiry-time' ).change(
68
  function () {
69
- var value = jQuery( this ).val();
70
- showDatePicker( value, 'update' );
71
  }
72
  );
73
 
74
  function showDatePicker(value, datePickerClass) {
75
 
76
  var customDatePickerClass = '';
77
- var customDatePickerID = '';
78
- if ( 'new' === datePickerClass ) {
79
  customDatePickerClass = '.new-custom-date-picker';
80
- customDatePickerID = '#new-custom-date-picker';
81
  } else {
82
  customDatePickerClass = '.update-custom-date-picker';
83
- customDatePickerID = '#update-custom-date-picker';
84
  }
85
 
86
  if (value === 'custom_date') {
87
- var tomorrowDate = new Date( new Date().getTime() + 24 * 60 * 60 * 1000 );
88
- jQuery( customDatePickerClass ).datepicker(
89
  {
90
  dateFormat: 'yy-mm-dd',
91
  minDate: tomorrowDate
92
  }
93
  );
94
- jQuery( customDatePickerID ).show();
95
  } else {
96
- jQuery( customDatePickerID ).hide();
97
  }
98
  }
99
 
100
  }
101
  );
102
 
103
- })( jQuery );
7
  (function ($) {
8
  'use strict';
9
 
10
+ $(document).ready(
11
  function () {
12
 
13
+ $('#add-new-wtlwp-form-button').click(
14
  function () {
15
+ $('#new-wtlwp-form').show();
16
+ $('#update-wtlwp-form').hide();
17
  }
18
  );
19
 
20
+ $('#cancel-new-login-form').click(
21
  function () {
22
+ $('#new-wtlwp-form').hide();
23
+ $('#update-wtlwp-form').show();
24
  }
25
  );
26
 
27
+ $('#cancel-update-login-form').click(
28
  function () {
29
+ $('#update-wtlwp-form').hide();
30
  }
31
  );
32
 
33
+ if ($('.wtlwp-click-to-copy-btn').get(0)) {
34
 
35
+ var clipboard = new Clipboard('.wtlwp-click-to-copy-btn');
36
 
37
  clipboard.on(
38
  'success', function (e) {
39
+ var elem = e.trigger;
40
+ var className = elem.getAttribute('class');
41
+ $('#copied-text-message-' + className).text('Copied').fadeIn();
42
+ $('#copied-text-message-' + className).fadeOut('slow');
43
  }
44
  );
45
  }
46
 
47
+ if ($('.wtlwp-copy-to-clipboard').get(0)) {
48
+ var clipboard_link = new Clipboard('.wtlwp-copy-to-clipboard');
49
 
50
  clipboard_link.on(
51
  'success', function (e) {
52
  var elem = e.trigger;
53
+ var id = elem.getAttribute('id');
54
+ $('#copied-' + id).text('Copied').fadeIn();
55
+ $('#copied-' + id).fadeOut('slow');
56
  }
57
  );
58
  }
59
 
60
+ $('#new-user-expiry-time').change(
61
  function () {
62
+ var value = $(this).val();
63
+ showDatePicker(value, 'new');
64
  }
65
  );
66
 
67
+ $('#update-user-expiry-time').change(
68
  function () {
69
+ var value = $(this).val();
70
+ showDatePicker(value, 'update');
71
  }
72
  );
73
 
74
  function showDatePicker(value, datePickerClass) {
75
 
76
  var customDatePickerClass = '';
77
+ var customDatePickerID = '';
78
+ if ('new' === datePickerClass) {
79
  customDatePickerClass = '.new-custom-date-picker';
80
+ customDatePickerID = '#new-custom-date-picker';
81
  } else {
82
  customDatePickerClass = '.update-custom-date-picker';
83
+ customDatePickerID = '#update-custom-date-picker';
84
  }
85
 
86
  if (value === 'custom_date') {
87
+ var tomorrowDate = new Date(new Date().getTime() + 24 * 60 * 60 * 1000);
88
+ $(customDatePickerClass).datepicker(
89
  {
90
  dateFormat: 'yy-mm-dd',
91
  minDate: tomorrowDate
92
  }
93
  );
94
+ $(customDatePickerID).show();
95
  } else {
96
+ $(customDatePickerID).hide();
97
  }
98
  }
99
 
100
  }
101
  );
102
 
103
+ })(jQuery);
includes/class-wp-temporary-login-without-password.php CHANGED
@@ -110,13 +110,15 @@ class Wp_Temporary_Login_Without_Password {
110
  $this->loader->add_action( 'admin_init', $plugin_admin, 'create_user' );
111
  $this->loader->add_action( 'admin_init', $plugin_admin, 'update_tlwp_settings' );
112
  $this->loader->add_action( 'admin_init', $plugin_admin, 'manage_temporary_login' );
113
- $this->loader->add_action( 'admin_notices', $plugin_admin, 'display_admin_notices' );
114
  $this->loader->add_action( 'admin_bar_menu', $plugin_admin, 'tlwp_show_temporary_access_notice_in_admin_bar', 999 );
115
  $this->loader->add_action( 'admin_head', $plugin_admin, 'tlwp_test_mode_notice_admin_bar_css', 999 );
116
 
117
  $this->loader->add_filter( 'wpmu_welcome_notification', $plugin_admin, 'disable_welcome_notification', 10, 5 );
118
  $this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'disable_plugin_deactivation', 10, 4 );
119
  $this->loader->add_filter( 'plugin_action_links_' . WTLWP_PLUGIN_BASE_NAME, $plugin_admin, 'plugin_add_settings_link', 10, 4 );
 
 
120
  }
121
 
122
  /**
110
  $this->loader->add_action( 'admin_init', $plugin_admin, 'create_user' );
111
  $this->loader->add_action( 'admin_init', $plugin_admin, 'update_tlwp_settings' );
112
  $this->loader->add_action( 'admin_init', $plugin_admin, 'manage_temporary_login' );
113
+ $this->loader->add_action( 'admin_notices', $plugin_admin, 'tlwp_display_admin_notices' );
114
  $this->loader->add_action( 'admin_bar_menu', $plugin_admin, 'tlwp_show_temporary_access_notice_in_admin_bar', 999 );
115
  $this->loader->add_action( 'admin_head', $plugin_admin, 'tlwp_test_mode_notice_admin_bar_css', 999 );
116
 
117
  $this->loader->add_filter( 'wpmu_welcome_notification', $plugin_admin, 'disable_welcome_notification', 10, 5 );
118
  $this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'disable_plugin_deactivation', 10, 4 );
119
  $this->loader->add_filter( 'plugin_action_links_' . WTLWP_PLUGIN_BASE_NAME, $plugin_admin, 'plugin_add_settings_link', 10, 4 );
120
+
121
+ $this->loader->add_action( 'admin_print_scripts', $plugin_admin, 'remove_admin_notices' );
122
  }
123
 
124
  /**
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: 2019-11-02 12:09+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"
@@ -14,146 +14,174 @@ msgstr ""
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco https://localise.biz/"
16
 
17
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:129
18
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/admin-settings.php:11
19
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/admin-settings.php:20
20
  msgid "Temporary Logins"
21
  msgstr ""
22
 
23
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:448
24
  msgid "User creation failed"
25
  msgstr ""
26
 
27
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:449
28
  msgid "You do not have permission to create a temporary login"
29
  msgstr ""
30
 
31
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:450
32
  msgid "Email is already in use"
33
  msgstr ""
34
 
35
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:451
36
  msgid "Please enter valid email address. Email field should not be empty"
37
  msgstr ""
38
 
39
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:452
40
  msgid "Please enter valid email address"
41
  msgstr ""
42
 
43
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:453
44
  msgid "User you are trying to delete is not temporary"
45
  msgstr ""
46
 
47
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:454
48
  msgid "Nonce failed"
49
  msgstr ""
50
 
51
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:455
52
  msgid "Invalid action"
53
  msgstr ""
54
 
55
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:456
56
  msgid "Unknown error occurred"
57
  msgstr ""
58
 
59
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:457
60
  msgid "Login created successfully!"
61
  msgstr ""
62
 
63
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:458
64
  msgid "Login updated successfully!"
65
  msgstr ""
66
 
67
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:459
68
  msgid "Login deleted successfully!"
69
  msgstr ""
70
 
71
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:460
72
  msgid "Login disabled successfully!"
73
  msgstr ""
74
 
75
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:461
76
  msgid "Login enabled successfully!"
77
  msgstr ""
78
 
79
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:462
80
  msgid "Settings have been updated successfully"
81
  msgstr ""
82
 
83
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:463
84
  msgid "Success!"
85
  msgstr ""
86
 
87
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:537
88
- #, php-format
89
- msgid ""
90
- "If you like <strong>Temporary Login Without Password</strong> plugin, please "
91
- "leave us a %s rating. A huge thanks in advance!"
92
- msgstr ""
93
-
94
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:538
95
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:606
96
- msgid "Thank You :) "
97
- msgstr ""
98
-
99
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:540
100
- #, php-format
101
- msgid "Thank you for using %s."
102
  msgstr ""
103
 
104
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:604
105
- msgid ""
106
- "<span><p>We hope you're enjoying <b>Temporary Login Without Password</b> "
107
- "plugin! Could you please do us a BIG favor and give us a 5-star rating on "
108
- "WordPress to help us spread the word and boost our motivation?</p>"
 
 
109
  msgstr ""
110
 
111
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:678
112
- msgid "Temporary Access"
 
113
  msgstr ""
114
 
115
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:191
116
- msgid "One Hour"
 
117
  msgstr ""
118
 
119
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:192
120
- msgid "Three Hours"
 
121
  msgstr ""
122
 
123
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:193
124
- msgid "One Day"
 
125
  msgstr ""
126
 
127
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:194
128
- msgid "Three Days"
 
129
  msgstr ""
130
 
131
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:195
132
- msgid "One Week"
 
133
  msgstr ""
134
 
135
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:196
136
- msgid "One Month"
 
 
 
 
 
 
 
 
 
137
  msgstr ""
138
 
139
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:197
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  msgid "Custom Date"
141
  msgstr ""
142
 
143
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:687
144
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:724
145
  msgid "Expired"
146
  msgstr ""
147
 
148
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:889
149
  msgid "Hello,"
150
  msgstr ""
151
 
152
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:890
153
  msgid "Click the following link to log into the system:"
154
  msgstr ""
155
 
156
- #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:891
157
  msgid "Temporary Login Link"
158
  msgstr ""
159
 
3
  msgstr ""
4
  "Project-Id-Version: PACKAGE VERSION\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2020-06-27 10:44+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"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco https://localise.biz/"
16
 
17
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:122
18
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/admin-settings.php:11
19
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/templates/admin-settings.php:20
20
  msgid "Temporary Logins"
21
  msgstr ""
22
 
23
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:439
24
  msgid "User creation failed"
25
  msgstr ""
26
 
27
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:440
28
  msgid "You do not have permission to create a temporary login"
29
  msgstr ""
30
 
31
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:441
32
  msgid "Email is already in use"
33
  msgstr ""
34
 
35
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:442
36
  msgid "Please enter valid email address. Email field should not be empty"
37
  msgstr ""
38
 
39
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:443
40
  msgid "Please enter valid email address"
41
  msgstr ""
42
 
43
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:444
44
  msgid "User you are trying to delete is not temporary"
45
  msgstr ""
46
 
47
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:445
48
  msgid "Nonce failed"
49
  msgstr ""
50
 
51
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:446
52
  msgid "Invalid action"
53
  msgstr ""
54
 
55
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:447
56
  msgid "Unknown error occurred"
57
  msgstr ""
58
 
59
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:448
60
  msgid "Login created successfully!"
61
  msgstr ""
62
 
63
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:449
64
  msgid "Login updated successfully!"
65
  msgstr ""
66
 
67
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:450
68
  msgid "Login deleted successfully!"
69
  msgstr ""
70
 
71
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:451
72
  msgid "Login disabled successfully!"
73
  msgstr ""
74
 
75
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:452
76
  msgid "Login enabled successfully!"
77
  msgstr ""
78
 
79
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:453
80
  msgid "Settings have been updated successfully"
81
  msgstr ""
82
 
83
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:454
84
  msgid "Success!"
85
  msgstr ""
86
 
87
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/admin/class-wp-temporary-login-without-password-admin.php:567
88
+ msgid "Temporary Access"
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  msgstr ""
90
 
91
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:190
92
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:191
93
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:192
94
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:193
95
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:194
96
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:195
97
+ msgid "From Now"
98
  msgstr ""
99
 
100
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:190
101
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:196
102
+ msgid "One Hour"
103
  msgstr ""
104
 
105
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:191
106
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:197
107
+ msgid "Three Hours"
108
  msgstr ""
109
 
110
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:192
111
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:198
112
+ msgid "One Day"
113
  msgstr ""
114
 
115
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:193
116
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:199
117
+ msgid "Three Days"
118
  msgstr ""
119
 
120
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:194
121
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:200
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:195
126
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:201
127
+ msgid "One Month"
128
  msgstr ""
129
 
130
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:196
131
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:197
132
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:198
133
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:199
134
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:200
135
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:201
136
+ msgid "After Access"
137
+ msgstr ""
138
+
139
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:196
140
+ msgid "1 hour after access"
141
  msgstr ""
142
 
143
  #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:197
144
+ msgid "3 hours after access"
145
+ msgstr ""
146
+
147
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:198
148
+ msgid "1 day after access"
149
+ msgstr ""
150
+
151
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:199
152
+ msgid "3 days after access"
153
+ msgstr ""
154
+
155
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:200
156
+ msgid "1 week after access"
157
+ msgstr ""
158
+
159
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:201
160
+ msgid "1 month after access"
161
+ msgstr ""
162
+
163
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:202
164
+ msgid "Custom"
165
+ msgstr ""
166
+
167
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:202
168
  msgid "Custom Date"
169
  msgstr ""
170
 
171
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:722
172
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:759
173
  msgid "Expired"
174
  msgstr ""
175
 
176
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:931
177
  msgid "Hello,"
178
  msgstr ""
179
 
180
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:932
181
  msgid "Click the following link to log into the system:"
182
  msgstr ""
183
 
184
+ #: ../../../../../repositories/GitLab/store-apps/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:933
185
  msgid "Temporary Login Link"
186
  msgstr ""
187
 
readme.txt CHANGED
@@ -1,30 +1,41 @@
1
  === Temporary Login Without Password ===
2
- Contributors: storeapps, niravmehta, malayladu
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BMFRMVXQ87JWA&source=url
4
- Tags: temporary access, developer access, admin login, 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: 5.4.1
7
- Stable tag: 1.6.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- Create self-expiring, temporary admin accounts. Easily share direct login links (no need for username / password) with your developers or editors.
12
 
13
  == Description ==
14
 
15
- Create self-expiring, automatic login links for WordPress. Give them to developers when they ask for admin access to your site. Or an editor for a quick review of work done. Login works just by opening the link, no password needed.
16
 
17
- Using "Temporary Login Without Password" plugin you can create a self expiring account for someone and give them a special link with which they can login to your WordPress without needing a username and password.
18
 
19
- You can choose when the login expires, as well as the role of the temporary account.
20
 
21
  Really useful when you need to give admin access to a developer for support or for performing routine tasks.
22
 
23
  Read [this article](https://www.storeapps.org/create-secure-login-without-password-for-wordpress/) to know more about what's the Current Problem – Creating a Separate Admin Login for Outsiders (Devs/ Guest bloggers) and how to avoid this pain, Top Benefits of using this plugin & Why and Who need Temporary Login links.
24
 
25
- **Spread The Word**
26
 
27
- If you like Temporary Login Without Password, please leave a [five stars review](https://wordpress.org/support/plugin/temporary-login-without-password/reviews/#new-post) and also spread the word about it via [Facebook](https://www.facebook.com/sharer.php?u=https://wordpress.org/plugins/temporary-login-without-password/) and [Twitter](https://twitter.com/intent/tweet?url=https://wordpress.org/plugins/temporary-login-without-password/). That helps fellow website owners assess Temporary Login Without Password easily and benefit from it!
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  **What's Next**
30
 
@@ -41,33 +52,48 @@ Also, check our other [Premium WooCommerce plugins.](https://www.storeapps.org/s
41
 
42
  == Installation ==
43
 
44
- 1. Unzip downloaded folder and upload it to 'wp-content/plugins/' folder
45
- 2. Activate the plugin through the 'Plugins' menu in WordPress
46
- 3. Go to Users > Temporary Login section and create a new temporary login.
 
 
 
 
 
 
 
 
 
 
 
47
 
48
  == Frequently Asked Questions ==
49
 
50
- = 1. Do I need username & password to login using Temporary Login? =
51
 
52
- No. Temporary Login Without Password plugin creates temporary login link to login into WordPress. User only have to go
53
- to click on the temporary login link and they will automatically login into WordPress.
54
 
55
  = 2. Can I disable Temporary user manually? =
56
 
57
- Yes, you can disable temporary user manually.
58
 
59
- = 3. Can I delete temporary user?
60
 
61
- Yes, you can delete temporary user.
62
 
63
- = 4. Is temporary user login with username & password?
64
 
65
  No. temporary user can't login with username & password.
66
 
67
- = 5. Can I convert temporary user into normal user?
68
 
69
  No. at this moment it's not possible to do this.
70
 
 
 
 
 
71
  == Screenshots ==
72
 
73
  1. Create a new Temporary Login.
@@ -78,9 +104,14 @@ No. at this moment it's not possible to do this.
78
 
79
  == Changelog ==
80
 
 
 
 
 
 
81
  **1.6.2 [2020-05-30]**
82
 
83
- * New: Notify about Temporary Access in admin bar
84
 
85
  **1.6.1 [2020-04-11]**
86
 
@@ -88,7 +119,7 @@ No. at this moment it's not possible to do this.
88
 
89
  **1.6.0 [2020-02-20]**
90
 
91
- * New: Now, able to create temporary login link that will expire on specific time after access.
92
  * Fix: Conflict of Sweetalert JS
93
 
94
  **1.5.23 [2020-01-14]**
@@ -111,11 +142,11 @@ No. at this moment it's not possible to do this.
111
 
112
  **1.5.19.1 [2019-08-19]**
113
 
114
- * Fix: Redirection issue with WordPress sub directory installation.
115
 
116
  **1.5.19 [2019-08-16]**
117
 
118
- * Fix: "404 Not Found" issue after clicking on temporary login link for WordPress sub directory installation.
119
 
120
  **1.5.18 [2019-07-29]**
121
 
@@ -123,14 +154,14 @@ No. at this moment it's not possible to do this.
123
 
124
  **1.5.17 [2019-06-17]**
125
 
126
- * New: added "locale" support for temporary user
127
- * New: Show number of times temporary user logged in via temporary login link
128
  * Fix: CSS issue with Divi theme (Thanks [@lordsnake](https://wordpress.org/support/users/lordsnake/) for reporting)
129
 
130
  **1.5.16 [2019-05-20]**
131
 
132
  * Update: Compatibility test with WordPress 5.2
133
- * Fix: Typo in success message.
134
 
135
  **1.5.15.2 [2019-04-17]**
136
 
@@ -142,11 +173,11 @@ No. at this moment it's not possible to do this.
142
 
143
  **1.5.15 [2019-03-08]**
144
 
145
- * Fix: Redirection after login gives "404 error" error on sub-site of WordPress multi site installation. (Thanks [@csigncsign](https://wordpress.org/support/users/csigncsign/) for reporting this.)
146
 
147
  **1.5.14 [2019-01-14]**
148
 
149
- * Update: Added System info page and allow temporary user to access system info page
150
 
151
  **1.5.13 [2018-11-19]**
152
 
@@ -154,7 +185,7 @@ No. at this moment it's not possible to do this.
154
 
155
  **1.5.12 [2018-10-24]**
156
 
157
- * Fix: Temporary user redirected to admin page even if 'redirect_to' query param present once user logged in with temporary login link.
158
 
159
  **1.5.11 [2018-10-08]**
160
 
@@ -162,11 +193,11 @@ No. at this moment it's not possible to do this.
162
 
163
  **1.5.10 [2018-09-12]**
164
 
165
- * Fix: 'redirect_to' parameter in request didn't use for user redirection. Now, temporary user will be redirected to url available in 'redirect_to' parameter.
166
 
167
  **1.5.9 [2018-07-25]**
168
 
169
- * Update: Added settings to set default expiration time. Now, admin don't have to select expiry time from dropdown every time when they
170
  create a new temporary login.
171
 
172
  **1.5.8 [2018-04-25]**
@@ -188,7 +219,7 @@ create a new temporary login.
188
 
189
  * Update: Set default expiry time as a "Week" for new temporary login instead of an "Hour".
190
  * 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
191
- * Fix: Existing temporary user's role is not available into roles dropdown while edit.
192
 
193
  **1.5.4 [2018-02-20]**
194
 
@@ -201,7 +232,7 @@ create a new temporary login.
201
  **1.5.2 [2018-01-29]**
202
 
203
  * Update: Now, admin can select roles from which they want to create a Temporary Login.
204
- * Fix: Temporary User with 'administrator' role shows as a 'Super Admin' for WordPress single site installation.
205
 
206
  **1.5.1 [2018-01-19]**
207
 
@@ -209,12 +240,12 @@ create a new temporary login.
209
 
210
  **1.5 [2018-01-08]**
211
 
212
- * Update: Now, Temporary Login can be created for WordPress Multi site. Super Admin can create a temporary super admin for multi site
213
  * Update: Restrict Temporary user to delete other users.
214
 
215
  **1.4.6 [2017-11-18]**
216
 
217
- * Update: Now, admin can set the default role for temporary user from settings panel
218
 
219
  **1.4.5 [2017-11-13]**
220
 
@@ -234,21 +265,21 @@ create a new temporary login.
234
 
235
  **1.4.1 [2017-06-23]**
236
 
237
- * Update: Now, create a temporary login with custom expiry date.
238
 
239
  **1.4 [2016-09-07]**
240
 
241
- * Added: Support for "Theme My Login" plugin. Now, temporary user will be redirected to page which is defined in Theme My Login plugin.
242
 
243
  **1.3 [2016-09-01]**
244
 
245
- * Fix: Temporary user is able to login with email address. Now onwards, temporary user is not able to login using username/email and password
246
- * Fix: Temporary user was able to reset password. Now onwards, they won't be able to reset password.
247
- * Update: Now, role of temporary user is downgrade to "none" on deactivation of plugin and change to default on re activation of plugin
248
 
249
  **1.2 [2016-09-01]**
250
 
251
- * Fix: Temporary user is able to login with username and password.
252
 
253
  **1.1 [2016-08-05]**
254
 
@@ -256,4 +287,4 @@ create a new temporary login.
256
 
257
  **1.0 [2016-08-04]**
258
 
259
- * Initial Release
1
  === Temporary Login Without Password ===
2
+ Contributors: storeapps, icegram, niravmehta, malayladu
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BMFRMVXQ87JWA&source=url
4
+ Tags: temporary access, developer access, temporary login, passwordless login, secure login
5
  Requires at least: 3.0.1
6
+ Tested up to: 5.4.2
7
+ Stable tag: 1.6.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Create self-expiring, temporary admin accounts. Easily share direct login links (no need for username/password) with your developers or editors.
12
 
13
  == Description ==
14
 
15
+ Create self-expiring ⏱️, automatic login links 🔗 for WordPress. Give them to developers when they ask for admin access to your site. Or an editor for a quick review of work done. Login works just by opening the link, no password needed.
16
 
17
+ Using the "Temporary Login Without Password" plugin you can create a self-expiring account for someone and give them a special link with which they can login to your WordPress without needing a username and password.
18
 
19
+ You can choose when the login expires, as well as the role of the temporary account.
20
 
21
  Really useful when you need to give admin access to a developer for support or for performing routine tasks.
22
 
23
  Read [this article](https://www.storeapps.org/create-secure-login-without-password-for-wordpress/) to know more about what's the Current Problem – Creating a Separate Admin Login for Outsiders (Devs/ Guest bloggers) and how to avoid this pain, Top Benefits of using this plugin & Why and Who need Temporary Login links.
24
 
25
+ #### **Benefits of Temporary Logins**
26
 
27
+ > ➡️ Create unlimited temporary logins
28
+ > ➡️ Create temporary logins with any role
29
+ > ➡️ No username & password required. Login with just simple link
30
+ > ➡️ Set account expiry. So, a temporary user can't login after the expiry time
31
+ > ➡️ Various expiration options like one day, one week, one month and many more. Also set a custom date
32
+ > ➡️ Set a language for a temporary user
33
+ > ➡️ See the last logged in time of a temporary user
34
+ > ➡️ Also see, how many times a temporary user accessed your setup
35
+
36
+ **Spread The Love ❤️**
37
+
38
+ If you like Temporary Login Without Password, please leave a [five stars ⭐⭐⭐⭐⭐](https://wordpress.org/support/plugin/temporary-login-without-password/reviews/#new-post) and also spread the word about it via [Facebook](https://www.facebook.com/sharer.php?u=https://wordpress.org/plugins/temporary-login-without-password/) and [Twitter](https://twitter.com/intent/tweet?url=https://wordpress.org/plugins/temporary-login-without-password/). That helps fellow website owners assess Temporary Login Without Password easily and benefit from it!
39
 
40
  **What's Next**
41
 
52
 
53
  == Installation ==
54
 
55
+ Option 1:
56
+
57
+ 1. Go to WordPress Dashboard. Locate Plugins -> Add New
58
+ 2. Search **Temporary Login Without Password** plugin using the search option
59
+ 3. Find the plugin and click Install Now button
60
+ 4. After installation, click on Activate Plugin link to activate the plugin.
61
+
62
+ Option 2:
63
+
64
+ 1. Download the plugin [temporary-login-without-password.zip](https://downloads.wordpress.org/plugins/temporary-login-without-password.zip)
65
+ 2. Go to WordPress Dashboard. Locate Plugins -> Add New
66
+ 3. Click on Upload Plugin link from the top
67
+ 4. Upload the downloaded **temporary-login-without-password.zip** file and click on Install Now
68
+ 5. After installation, click on Activate Plugin link to activate the plugin.
69
 
70
  == Frequently Asked Questions ==
71
 
72
+ = 1. Do I need a username & password to login using Temporary Login? =
73
 
74
+ No. Temporary Login Without Password plugin creates a temporary login link to login into WordPress. The user only have
75
+ to click on the temporary login link and they will automatically login to WordPress.
76
 
77
  = 2. Can I disable Temporary user manually? =
78
 
79
+ Yes, you can disable the temporary user manually.
80
 
81
+ = 3. Can I delete the temporary user?
82
 
83
+ Yes, you can delete a temporary user.
84
 
85
+ = 4. Can temporary user login with username & password?
86
 
87
  No. temporary user can't login with username & password.
88
 
89
+ = 5. Can I convert a temporary user into a normal user?
90
 
91
  No. at this moment it's not possible to do this.
92
 
93
+ = 6. Can I set a different language other than the default language for a temporary user?
94
+
95
+ Yes. Many times your support person doesn't speak the same language as you speak. So, it would be a good choice to create a temporary account for them and set their preferred language.
96
+
97
  == Screenshots ==
98
 
99
  1. Create a new Temporary Login.
104
 
105
  == Changelog ==
106
 
107
+ **1.6.3 [2020-06-29]**
108
+
109
+ * Fix: Upgrade failed notice while upgrading plugins through temporary login
110
+ * Update: Removed all unnecessary admin notices from Temporary Login screen
111
+
112
  **1.6.2 [2020-05-30]**
113
 
114
+ * New: Notify about Temporary Access in the admin bar
115
 
116
  **1.6.1 [2020-04-11]**
117
 
119
 
120
  **1.6.0 [2020-02-20]**
121
 
122
+ * New: Now, able to create a temporary login link that will expire on a specific time after access.
123
  * Fix: Conflict of Sweetalert JS
124
 
125
  **1.5.23 [2020-01-14]**
142
 
143
  **1.5.19.1 [2019-08-19]**
144
 
145
+ * Fix: Redirection issue with WordPress subdirectory installation.
146
 
147
  **1.5.19 [2019-08-16]**
148
 
149
+ * Fix: "404 Not Found" issue after clicking on a temporary login link for WordPress subdirectory installation.
150
 
151
  **1.5.18 [2019-07-29]**
152
 
154
 
155
  **1.5.17 [2019-06-17]**
156
 
157
+ * New: added "locale" support for a temporary user
158
+ * New: Show number of times the temporary user logged in via temporary login link
159
  * Fix: CSS issue with Divi theme (Thanks [@lordsnake](https://wordpress.org/support/users/lordsnake/) for reporting)
160
 
161
  **1.5.16 [2019-05-20]**
162
 
163
  * Update: Compatibility test with WordPress 5.2
164
+ * Fix: Typo in the success message.
165
 
166
  **1.5.15.2 [2019-04-17]**
167
 
173
 
174
  **1.5.15 [2019-03-08]**
175
 
176
+ * Fix: Redirection after login gives "404 error" error on sub-site of WordPress multi-site installation. (Thanks [@csigncsign](https://wordpress.org/support/users/csigncsign/) for reporting this.)
177
 
178
  **1.5.14 [2019-01-14]**
179
 
180
+ * Update: Added System info page and allow the temporary user to access system info page
181
 
182
  **1.5.13 [2018-11-19]**
183
 
185
 
186
  **1.5.12 [2018-10-24]**
187
 
188
+ * Fix: Temporary user redirected to admin page even if 'redirect_to' query param present once a user logged in with temporary login link.
189
 
190
  **1.5.11 [2018-10-08]**
191
 
193
 
194
  **1.5.10 [2018-09-12]**
195
 
196
+ * Fix: 'redirect_to' parameter in request didn't use for user redirection. Now, a temporary user will be redirected to the URL available in the 'redirect_to' parameter.
197
 
198
  **1.5.9 [2018-07-25]**
199
 
200
+ * Update: Added settings to set default expiration time. Now, admin don't have to select expiry time from dropdown whenever they
201
  create a new temporary login.
202
 
203
  **1.5.8 [2018-04-25]**
219
 
220
  * Update: Set default expiry time as a "Week" for new temporary login instead of an "Hour".
221
  * 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
222
+ * Fix: Existing temporary user's role is not available into roles dropdown while editing.
223
 
224
  **1.5.4 [2018-02-20]**
225
 
232
  **1.5.2 [2018-01-29]**
233
 
234
  * Update: Now, admin can select roles from which they want to create a Temporary Login.
235
+ * Fix: Temporary User with 'administrator' role shows as a 'Super Admin' for WordPress single-site installation.
236
 
237
  **1.5.1 [2018-01-19]**
238
 
240
 
241
  **1.5 [2018-01-08]**
242
 
243
+ * Update: Now, Temporary Login can be created for WordPress Multisite. Super Admin can create a temporary super admin for multi-site
244
  * Update: Restrict Temporary user to delete other users.
245
 
246
  **1.4.6 [2017-11-18]**
247
 
248
+ * Update: Now, admin can set the default role for temporary user from the settings panel
249
 
250
  **1.4.5 [2017-11-13]**
251
 
265
 
266
  **1.4.1 [2017-06-23]**
267
 
268
+ * Update: Now, create a temporary login with a custom expiry date.
269
 
270
  **1.4 [2016-09-07]**
271
 
272
+ * Added: Support for "Theme My Login" plugin. Now, a temporary user will be redirected to a page that is defined in Theme My Login plugin.
273
 
274
  **1.3 [2016-09-01]**
275
 
276
+ * Fix: Temporary user can log in with an email address. Now onwards, the temporary user is not able to login using username/email and password
277
+ * Fix: Temporary user was able to reset the password. Now onwards, they won't be able to reset the password.
278
+ * Update: Now, the role of a temporary user is downgrade to "none" on deactivation of plugin and change to default on the reactivation of plugin
279
 
280
  **1.2 [2016-09-01]**
281
 
282
+ * Fix: Temporary user can log in with username and password.
283
 
284
  **1.1 [2016-08-05]**
285
 
287
 
288
  **1.0 [2016-08-04]**
289
 
290
+ * Initial Release
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.6.2
7
  * Author: StoreApps
8
  * Author URI: https://storeapps.org
9
  * Requires at least: 3.0.1
10
- * Tested up to: 5.4.1
11
  * License: GPLv3
12
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
  * Text Domain: temporary-login-without-password
@@ -25,7 +25,7 @@ if ( ! defined( 'WPINC' ) ) {
25
  /**
26
  * Define constants
27
  */
28
- define( 'WTLWP_PLUGIN_VERSION', '1.6.2' );
29
  define( 'WTLWP_FEEDBACK_VERSION', '1.2.1' );
30
  define( 'WTLWP_PLUGIN_DIR', dirname( __FILE__ ) );
31
  define( 'WTLWP_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
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.6.3
7
  * Author: StoreApps
8
  * Author URI: https://storeapps.org
9
  * Requires at least: 3.0.1
10
+ * Tested up to: 5.4.2
11
  * License: GPLv3
12
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
  * Text Domain: temporary-login-without-password
25
  /**
26
  * Define constants
27
  */
28
+ define( 'WTLWP_PLUGIN_VERSION', '1.6.3' );
29
  define( 'WTLWP_FEEDBACK_VERSION', '1.2.1' );
30
  define( 'WTLWP_PLUGIN_DIR', dirname( __FILE__ ) );
31
  define( 'WTLWP_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );