Temporary Login Without Password - Version 1.6.5

Version Description

Download this release

Release Info

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

Code changes from version 1.6.4 to 1.6.5

includes/feedback/class-ig-feedback.php CHANGED
@@ -4,21 +4,21 @@ if ( ! defined( 'ABSPATH' ) ) {
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
- if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
8
  /**
9
  * IG Feedback
10
  *
11
  * The IG Feedback class adds functionality to get quick interactive feedback from users.
12
  * There are different types of feedabck widget like Stars, Emoji, Thubms Up/ Down, Number etc.
13
  *
14
- * @class IG_Feedback_V_1_2_1
15
  * @since 1.0.0
16
  * @copyright Copyright (c) 2019, Icegram
17
  * @license https://opensource.org/licenses/gpl-license GNU Public License
18
  * @author Icegram
19
  * @package feedback
20
  */
21
- class IG_Feedback_V_1_2_1 {
22
 
23
  /**
24
  * Version of Feedback Library
@@ -27,7 +27,7 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
27
  * @var string
28
  *
29
  */
30
- public $version = '1.2.1';
31
  /**
32
  * The API URL where we will send feedback data.
33
  *
@@ -453,7 +453,8 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
453
  is_dev_mode: '<?php echo $this->is_dev_mode; ?>',
454
  set_transient: '<?php echo $params['set_transient']; ?>'
455
  //system_info: enable_system_info
456
- }
 
457
  };
458
 
459
  return jQuery.post(ajaxurl, data);
@@ -684,7 +685,8 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
684
  set_transient: '<?php echo $params['set_transient']; ?>',
685
  meta_info: meta,
686
  system_info: system_info
687
- }
 
688
  };
689
 
690
  return jQuery.post(ajaxurl, data);
@@ -798,22 +800,30 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
798
  $params = $this->prepare_widget_params( $params );
799
 
800
  $title = $params['title'];
 
801
  $slug = sanitize_title( $title );
802
  $event = $this->event_prefix . $params['event'];
803
  $html = ! empty( $params['html'] ) ? $params['html'] : '';
 
 
 
 
804
 
805
  ?>
806
 
807
  <script>
808
 
809
  Swal.mixin({
810
- type: 'question',
811
- footer: '<?php echo $this->footer; ?>',
812
  position: '<?php echo $params['position']; ?>',
813
  width: <?php echo $params['width']; ?>,
814
  animation: false,
815
- focusConfirm: false,
816
  allowEscapeKey: true,
 
 
 
 
817
  showCloseButton: '<?php echo $params['showCloseButton']; ?>',
818
  allowOutsideClick: '<?php echo $params['allowOutsideClick']; ?>',
819
  showLoaderOnConfirm: true,
@@ -829,13 +839,14 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
829
 
830
  preConfirm: () => {
831
  window.open(
832
- 'https://www.facebook.com/groups/2298909487017349/',
833
  '_blank' // <- This is what makes it open in a new window.
834
  );
835
  }
836
  }
837
  ]).then(response => {
838
 
 
839
  if (response.hasOwnProperty('value')) {
840
 
841
  Swal.fire({
@@ -847,9 +858,12 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
847
  timer: 1500,
848
  animation: false
849
  });
 
 
 
 
 
850
  }
851
-
852
-
853
  });
854
 
855
  </script>
@@ -937,7 +951,8 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
937
  set_transient: '<?php echo $params['set_transient']; ?>',
938
  meta_info: meta,
939
  system_info: system_info
940
- }
 
941
  };
942
 
943
  return jQuery.post(ajaxurl, data);
@@ -1174,7 +1189,8 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
1174
  set_cookie: '',
1175
  meta_info: meta,
1176
  system_info: system_info
1177
- }
 
1178
  };
1179
 
1180
  var submitSurvey = $.post(ajaxurl, data);
@@ -1629,6 +1645,8 @@ if ( ! class_exists( 'IG_Feedback_V_1_2_1' ) ) {
1629
  */
1630
  function submit_feedback() {
1631
 
 
 
1632
  $data = ! empty( $_POST ) ? $_POST : array();
1633
 
1634
  $data['site'] = esc_url( home_url() );
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
+ if ( ! class_exists( 'IG_Feedback_V_1_2_4' ) ) {
8
  /**
9
  * IG Feedback
10
  *
11
  * The IG Feedback class adds functionality to get quick interactive feedback from users.
12
  * There are different types of feedabck widget like Stars, Emoji, Thubms Up/ Down, Number etc.
13
  *
14
+ * @class IG_Feedback_V_1_2_4
15
  * @since 1.0.0
16
  * @copyright Copyright (c) 2019, Icegram
17
  * @license https://opensource.org/licenses/gpl-license GNU Public License
18
  * @author Icegram
19
  * @package feedback
20
  */
21
+ class IG_Feedback_V_1_2_4 {
22
 
23
  /**
24
  * Version of Feedback Library
27
  * @var string
28
  *
29
  */
30
+ public $version = '1.2.4';
31
  /**
32
  * The API URL where we will send feedback data.
33
  *
453
  is_dev_mode: '<?php echo $this->is_dev_mode; ?>',
454
  set_transient: '<?php echo $params['set_transient']; ?>'
455
  //system_info: enable_system_info
456
+ },
457
+ security: '<?php echo esc_js( wp_create_nonce( $this->plugin_abbr . '-admin-ajax-nonce' ) ); ?>'
458
  };
459
 
460
  return jQuery.post(ajaxurl, data);
685
  set_transient: '<?php echo $params['set_transient']; ?>',
686
  meta_info: meta,
687
  system_info: system_info
688
+ },
689
+ security: '<?php echo esc_js( wp_create_nonce( $this->plugin_abbr . '-admin-ajax-nonce' ) ); ?>'
690
  };
691
 
692
  return jQuery.post(ajaxurl, data);
800
  $params = $this->prepare_widget_params( $params );
801
 
802
  $title = $params['title'];
803
+ $widget_tyoe = !empty($params['widget_tyoe']) ? $params['widget_tyoe'] : 'question';
804
  $slug = sanitize_title( $title );
805
  $event = $this->event_prefix . $params['event'];
806
  $html = ! empty( $params['html'] ) ? $params['html'] : '';
807
+ $confirm_button_link = ! empty( $params['confirmButtonLink'] ) ? $params['confirmButtonLink'] : '';
808
+ $cancel_button_link = ! empty( $params['cancelButtonLink'] ) ? $params['cancelButtonLink'] : '';
809
+ $show_cancel_button = ! empty( $params['showCancelButton'] ) ? 'true' : 'false';
810
+ $cancel_button_text = ! empty( $params['cancelButtonText'] ) ? $params['cancelButtonText'] : 'Cancel';
811
 
812
  ?>
813
 
814
  <script>
815
 
816
  Swal.mixin({
817
+ type: '<?php echo $widget_tyoe; ?>',
 
818
  position: '<?php echo $params['position']; ?>',
819
  width: <?php echo $params['width']; ?>,
820
  animation: false,
821
+ focusConfirm: true,
822
  allowEscapeKey: true,
823
+ showCancelButton: <?php echo $show_cancel_button; ?>,
824
+ confirmButtonColor: '#0e9f6e',
825
+ cancelButtonColor: '#5850ec',
826
+ cancelButtonText: '<?php echo $cancel_button_text; ?>',
827
  showCloseButton: '<?php echo $params['showCloseButton']; ?>',
828
  allowOutsideClick: '<?php echo $params['allowOutsideClick']; ?>',
829
  showLoaderOnConfirm: true,
839
 
840
  preConfirm: () => {
841
  window.open(
842
+ '<?php echo $confirm_button_link; ?>',
843
  '_blank' // <- This is what makes it open in a new window.
844
  );
845
  }
846
  }
847
  ]).then(response => {
848
 
849
+ console.log(response);
850
  if (response.hasOwnProperty('value')) {
851
 
852
  Swal.fire({
858
  timer: 1500,
859
  animation: false
860
  });
861
+ } else if(response.dismiss == 'cancel') {
862
+ window.open(
863
+ '<?php echo $cancel_button_link; ?>',
864
+ '_blank' // <- This is what makes it open in a new window.
865
+ );
866
  }
 
 
867
  });
868
 
869
  </script>
951
  set_transient: '<?php echo $params['set_transient']; ?>',
952
  meta_info: meta,
953
  system_info: system_info
954
+ },
955
+ security: '<?php echo esc_js( wp_create_nonce( $this->plugin_abbr . '-admin-ajax-nonce' ) ); ?>'
956
  };
957
 
958
  return jQuery.post(ajaxurl, data);
1189
  set_cookie: '',
1190
  meta_info: meta,
1191
  system_info: system_info
1192
+ },
1193
+ security: '<?php echo esc_js( wp_create_nonce( $this->plugin_abbr . '-admin-ajax-nonce' ) ); ?>'
1194
  };
1195
 
1196
  var submitSurvey = $.post(ajaxurl, data);
1645
  */
1646
  function submit_feedback() {
1647
 
1648
+ check_ajax_referer( $this->plugin_abbr . '-admin-ajax-nonce', 'security' );
1649
+
1650
  $data = ! empty( $_POST ) ? $_POST : array();
1651
 
1652
  $data['site'] = esc_url( home_url() );
includes/feedback/class-ig-tracker.php CHANGED
@@ -4,23 +4,21 @@ if ( ! defined( 'ABSPATH' ) ) {
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
- if ( ! class_exists( 'IG_Tracker_V_1_2_1' ) ) {
8
 
9
  /**
10
- * Class IG_Tracker_V_1_2_1
11
  *
12
  * Icegram tracker handler class is responsible for sending anonymous plugin
13
  * data to Icegram servers for users that actively allowed data tracking.
14
  *
15
- * @class IG_Tracker_V_1_2_1
16
  * @since 1.0.0
17
  *
18
- * @copyright Copyright (c) 2019, Icegram
19
- * @license https://opensource.org/licenses/gpl-license GNU Public License
20
  * @author Icegram
21
  * @package feedback
22
  */
23
- class IG_Tracker_V_1_2_1 {
24
 
25
  /**
26
  * Get Active, Inactive or all plugins info
@@ -112,6 +110,60 @@ if ( ! class_exists( 'IG_Tracker_V_1_2_1' ) ) {
112
  return self::get_plugins( 'inactive', $details );
113
  }
114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  /**
116
  * Get Current Theme Info
117
  *
@@ -129,14 +181,6 @@ if ( ! class_exists( 'IG_Tracker_V_1_2_1' ) ) {
129
  'author' => $theme_data->get( 'Author' ),
130
  'author_uri' => $theme_data->get( 'AuthorURI' )
131
  );
132
- } elseif ( function_exists( 'get_theme_data' ) ) {
133
- $theme_data = get_theme_data( get_stylesheet_directory() . '/style.css' );
134
- $current_theme = array(
135
- 'name' => $theme_data['Name'],
136
- 'version' => $theme_data['Version'],
137
- 'author' => $theme_data['Author'],
138
- 'author_uri' => $theme_data['AuthorURI']
139
- );
140
  }
141
 
142
  return $current_theme;
@@ -155,8 +199,8 @@ if ( ! class_exists( 'IG_Tracker_V_1_2_1' ) ) {
155
  $server_info = array(
156
  'php_version' => PHP_VERSION,
157
  'mysql_version' => $wpdb->db_version(),
158
- 'web_server_info' => $_SERVER['SERVER_SOFTWARE'],
159
- 'user_agent' => $_SERVER['HTTP_USER_AGENT'],
160
  'php_memory_limit' => ini_get( 'memory_limit' ),
161
  'php_post_max_size' => ini_get( 'post_max_size' ),
162
  'php_upload_max_file_size' => ini_get( 'upload_max_filesize' ),
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
+ if ( ! class_exists( 'IG_Tracker_V_1_2_4' ) ) {
8
 
9
  /**
10
+ * Class IG_Tracker_V_1_2_4
11
  *
12
  * Icegram tracker handler class is responsible for sending anonymous plugin
13
  * data to Icegram servers for users that actively allowed data tracking.
14
  *
15
+ * @class IG_Tracker_V_1_2_4
16
  * @since 1.0.0
17
  *
 
 
18
  * @author Icegram
19
  * @package feedback
20
  */
21
+ class IG_Tracker_V_1_2_4 {
22
 
23
  /**
24
  * Get Active, Inactive or all plugins info
110
  return self::get_plugins( 'inactive', $details );
111
  }
112
 
113
+ /**
114
+ * Check whether plugin is active or not.
115
+ *
116
+ * @param string $plugin
117
+ *
118
+ * @return bool
119
+ *
120
+ * @since 1.2.2
121
+ */
122
+ public static function is_plugin_activated( $plugin = '' ) {
123
+ if ( empty( $plugin ) ) {
124
+ return false;
125
+ }
126
+
127
+ $active_plugins = self::get_active_plugins();
128
+
129
+ if ( count( $active_plugins ) == 0 ) {
130
+ return false;
131
+ }
132
+
133
+ if ( in_array( $plugin, $active_plugins ) ) {
134
+ return true;
135
+ }
136
+
137
+ return false;
138
+ }
139
+
140
+ /**
141
+ * Is plugin installed?
142
+ *
143
+ * @param string $plugin
144
+ *
145
+ * @return bool
146
+ *
147
+ * @since 1.2.2
148
+ */
149
+ public static function is_plugin_installed( $plugin = '' ) {
150
+ if ( empty( $plugin ) ) {
151
+ return false;
152
+ }
153
+
154
+ $all_plugins = self::get_plugins();
155
+
156
+ if ( count( $all_plugins ) == 0 ) {
157
+ return false;
158
+ }
159
+
160
+ if ( in_array( $plugin, $all_plugins ) ) {
161
+ return true;
162
+ }
163
+
164
+ return false;
165
+ }
166
+
167
  /**
168
  * Get Current Theme Info
169
  *
181
  'author' => $theme_data->get( 'Author' ),
182
  'author_uri' => $theme_data->get( 'AuthorURI' )
183
  );
 
 
 
 
 
 
 
 
184
  }
185
 
186
  return $current_theme;
199
  $server_info = array(
200
  'php_version' => PHP_VERSION,
201
  'mysql_version' => $wpdb->db_version(),
202
+ 'web_server_info' => isset( $_SERVER['SERVER_SOFTWARE'] ) ? sanitize_text_field( $_SERVER['SERVER_SOFTWARE'] ) : '' ,
203
+ 'user_agent' => isset( $_SERVER['HTTP_USER_AGENT'] ) ? sanitize_text_field( $_SERVER['HTTP_USER_AGENT'] ) : '' ,
204
  'php_memory_limit' => ini_get( 'memory_limit' ),
205
  'php_post_max_size' => ini_get( 'post_max_size' ),
206
  'php_upload_max_file_size' => ini_get( 'upload_max_filesize' ),
readme.txt CHANGED
@@ -3,8 +3,8 @@ 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.5
7
- Stable tag: 1.6.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -26,9 +26,9 @@ Read [this article](https://www.storeapps.org/create-secure-login-without-passwo
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
@@ -45,7 +45,7 @@ If you like this plugin then consider checking out our other solutions:
45
 
46
  [Icegram](https://wordpress.org/plugins/icegram/) - Popups, Welcome Bar, Opt-ins & Lead Generation plugin
47
 
48
- [Email Subscribers & Newsletters](https://wordpress.org/plugins/email-subscribers/) - A complete newsletter plugin which lets you collect leads, send automated new blog post notification emails, create & send broadcasts and also manage them all in one single place.
49
 
50
  Also, check our other [Premium WooCommerce plugins.](https://www.storeapps.org/shop/?utm_source=wprepo&utm_medium=tlwp&utm_campaign=sa_products_upsell&utm_content=readme)
51
 
@@ -57,15 +57,15 @@ Option 1:
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
 
@@ -74,7 +74,7 @@ Option 2:
74
  No. Temporary Login Without Password plugin creates a temporary login link to login to 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
 
@@ -94,6 +94,24 @@ No. at this moment it's not possible to do this.
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,6 +122,10 @@ Yes. Many times your support person doesn't speak the same language as you speak
104
 
105
  == Changelog ==
106
 
 
 
 
 
107
  **1.6.4 [2020-08-17]**
108
 
109
  * Update: Compatibility check with WordPress 5.5
@@ -111,8 +133,8 @@ Yes. Many times your support person doesn't speak the same language as you speak
111
 
112
  **1.6.3 [2020-06-29]**
113
 
114
- * Fix: Upgrade failed notice while upgrading plugins through temporary login
115
- * Update: Removed all unnecessary admin notices from Temporary Login screen
116
 
117
  **1.6.2 [2020-05-30]**
118
 
@@ -182,7 +204,7 @@ Yes. Many times your support person doesn't speak the same language as you speak
182
 
183
  **1.5.14 [2019-01-14]**
184
 
185
- * Update: Added System info page and allow the temporary user to access system info page
186
 
187
  **1.5.13 [2018-11-19]**
188
 
@@ -190,7 +212,7 @@ Yes. Many times your support person doesn't speak the same language as you speak
190
 
191
  **1.5.12 [2018-10-24]**
192
 
193
- * Fix: Temporary user redirected to the admin page even if 'redirect_to' query param present once a user logged in with a temporary login link.
194
 
195
  **1.5.11 [2018-10-08]**
196
 
@@ -274,11 +296,11 @@ create a new temporary login.
274
 
275
  **1.4 [2016-09-07]**
276
 
277
- * 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.
278
 
279
  **1.3 [2016-09-01]**
280
 
281
- * 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
282
  * Fix: Temporary user was able to reset the password. Now onwards, they won't be able to reset the password.
283
  * Update: Now, the role of a temporary user is a downgrade to "none" on deactivation of plugin and change to default on the reactivation of plugin
284
 
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.5.1
7
+ Stable tag: 1.6.5
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
26
 
27
  > ➡️ Create unlimited temporary logins
28
  > ➡️ Create temporary logins with any role
29
+ > ➡️ No username & password required. Login with just a 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
45
 
46
  [Icegram](https://wordpress.org/plugins/icegram/) - Popups, Welcome Bar, Opt-ins & Lead Generation plugin
47
 
48
+ [Email Subscribers & Newsletters](https://wordpress.org/plugins/email-subscribers/) - A complete newsletter plugin which lets you collect leads, send automated new blog post notification emails, create & send broadcasts, and also manage them all in one single place.
49
 
50
  Also, check our other [Premium WooCommerce plugins.](https://www.storeapps.org/shop/?utm_source=wprepo&utm_medium=tlwp&utm_campaign=sa_products_upsell&utm_content=readme)
51
 
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 the 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 the 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 the Activate Plugin link to activate the plugin.
69
 
70
  == Frequently Asked Questions ==
71
 
74
  No. Temporary Login Without Password plugin creates a temporary login link to login to 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 the Temporary user manually? =
78
 
79
  Yes, you can disable the temporary user manually.
80
 
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
+ = 7. Is there any possibility to change the expiry range to minutes? =
98
+
99
+ There is no setting using which you can set the expiry range of temporary logins to minutes. But, you can set it to minutes using WordPress filters (programmatically). [Please refer to this thread](https://wordpress.org/support/topic/additional-expiry-option/).
100
+
101
+ = 8. If I give administrator access to a temporary login, will that person have the ability to delete other users (even other admins)? =
102
+
103
+ No. Temporary Users can't delete other users.
104
+
105
+ = 9. How to get there not on the admin page, but the main page of the site? =
106
+
107
+ By default, the temporary user will be redirected to the admin area after login. But, one can use the "redirect_to" query string parameter to redirect them to other pages. [Please refer to this thread](https://wordpress.org/support/topic/redirect-user-after-login-2/).
108
+
109
+ = 10. Can I use a fake email address or my email address to generate a temporary login link for others? =
110
+
111
+ Yes, you can use a fake email address or your email address to generate temporary login links. But, we recommend using a valid email address of the person to whom you want to give temporary access. It will help you to track the activity of that person.
112
+
113
+
114
+
115
  == Screenshots ==
116
 
117
  1. Create a new Temporary Login.
122
 
123
  == Changelog ==
124
 
125
+ **1.6.5 [2020-09-28]**
126
+
127
+ * Update: WordPress 5.5.1 compatibility check
128
+
129
  **1.6.4 [2020-08-17]**
130
 
131
  * Update: Compatibility check with WordPress 5.5
133
 
134
  **1.6.3 [2020-06-29]**
135
 
136
+ * Fix: Upgrade failed to notice while upgrading plugins through temporary login
137
+ * Update: Removed all unnecessary admin notices from the Temporary Login screen
138
 
139
  **1.6.2 [2020-05-30]**
140
 
204
 
205
  **1.5.14 [2019-01-14]**
206
 
207
+ * Update: Added System info page and allow the temporary user to access the system info page
208
 
209
  **1.5.13 [2018-11-19]**
210
 
212
 
213
  **1.5.12 [2018-10-24]**
214
 
215
+ * Fix: Temporary user redirected to the admin page even if the 'redirect_to' query param present once a user logged in with a temporary login link.
216
 
217
  **1.5.11 [2018-10-08]**
218
 
296
 
297
  **1.4 [2016-09-07]**
298
 
299
+ * Added: Support for "Theme My Login" plugin. Now, a temporary user will be redirected to a page that is defined in the Theme My Login plugin.
300
 
301
  **1.3 [2016-09-01]**
302
 
303
+ * Fix: Temporary users can log in with an email address. Now onwards, the temporary user is not able to login using username/email and password
304
  * Fix: Temporary user was able to reset the password. Now onwards, they won't be able to reset the password.
305
  * Update: Now, the role of a temporary user is a downgrade to "none" on deactivation of plugin and change to default on the reactivation of plugin
306
 
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.4
7
  * Author: StoreApps
8
  * Author URI: https://storeapps.org
9
  * Requires at least: 3.0.1
10
- * Tested up to: 5.5
11
  * License: GPLv3
12
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
  * Text Domain: temporary-login-without-password
@@ -25,8 +25,8 @@ if ( ! defined( 'WPINC' ) ) {
25
  /**
26
  * Define constants
27
  */
28
- define( 'WTLWP_PLUGIN_VERSION', '1.6.4' );
29
- define( 'WTLWP_FEEDBACK_VERSION', '1.2.1' );
30
  define( 'WTLWP_PLUGIN_DIR', dirname( __FILE__ ) );
31
  define( 'WTLWP_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
32
  define( 'WTLWP_PLUGIN_URL', plugin_dir_url( __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.5
7
  * Author: StoreApps
8
  * Author URI: https://storeapps.org
9
  * Requires at least: 3.0.1
10
+ * Tested up to: 5.5.1
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.5' );
29
+ define( 'WTLWP_FEEDBACK_VERSION', '1.2.4' );
30
  define( 'WTLWP_PLUGIN_DIR', dirname( __FILE__ ) );
31
  define( 'WTLWP_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
32
  define( 'WTLWP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );