Version Description
Download this release
Release Info
Developer | storeapps |
Plugin | Temporary Login Without Password |
Version | 1.5.19 |
Comparing to | |
See all releases |
Code changes from version 1.5.18 to 1.5.19
public/class-wp-temporary-login-without-password-public.php
CHANGED
@@ -113,7 +113,31 @@ class Wp_Temporary_Login_Without_Password_Public {
|
|
113 |
do_action( 'wp_login', $temporary_user_login, $temporary_user );
|
114 |
}
|
115 |
|
116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
|
118 |
// If empty redirect user to admin page.
|
119 |
if ( ! empty( $redirect_to_url ) ) {
|
113 |
do_action( 'wp_login', $temporary_user_login, $temporary_user );
|
114 |
}
|
115 |
|
116 |
+
/**
|
117 |
+
* There is an issue with WordPress which installed in sub directory
|
118 |
+
*
|
119 |
+
* e.g WordPress installed at https://wpm.stg/wpmsub
|
120 |
+
*
|
121 |
+
* So, when we are preparing redirect url from current request, we are getting
|
122 |
+
* https://wpm.stg/wpmsub/wpmsub url. Which leads to 404 Not Found.
|
123 |
+
*
|
124 |
+
* So, We need to remove extra "wpmsub" from url.
|
125 |
+
*
|
126 |
+
* If it's Multi site installation, we don't need to remove.
|
127 |
+
* We only need to remove it for WordPress sub directory installation.
|
128 |
+
*/
|
129 |
+
|
130 |
+
// Get current request
|
131 |
+
$request_uri = $_SERVER['REQUEST_URI'];
|
132 |
+
|
133 |
+
if ( ! is_multisite() ) {
|
134 |
+
$component = parse_url( get_site_url(), PHP_URL_PATH );
|
135 |
+
if ( ! empty( $component ) ) {
|
136 |
+
$request_uri = str_replace( $component, '', $request_uri );
|
137 |
+
}
|
138 |
+
}
|
139 |
+
|
140 |
+
$redirect_to_url = ( isset( $_REQUEST['redirect_to'] ) ) ? $_REQUEST['redirect_to'] : apply_filters( 'login_redirect', network_site_url( remove_query_arg( 'wtlwp_token', $request_uri ) ), false, $temporary_user ); // phpcs:ignore
|
141 |
|
142 |
// If empty redirect user to admin page.
|
143 |
if ( ! empty( $redirect_to_url ) ) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
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.2.2
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -20,15 +20,25 @@ You can choose when the login expires, as well as the role of the temporary acco
|
|
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
|
24 |
-
|
25 |
-
Use this plugin along with [WP Security Audit Log](https://wordpress.org/plugins/wp-security-audit-log/) plugin to track what the person does after loggin in.
|
26 |
-
|
27 |
|
28 |
**Spread The Word**
|
29 |
|
30 |
If you like Temporary Login Without Password, please leave a five star review on WordPress and also spread the word about it. That helps fellow website owners assess Temporary Login Without Password easily and benefit from it!
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
== Installation ==
|
33 |
|
34 |
1. Unzip downloaded folder and upload it to 'wp-content/plugins/' folder
|
@@ -40,7 +50,7 @@ If you like Temporary Login Without Password, please leave a five star review on
|
|
40 |
= 1. Do I need username & password to login using Temporary Login? =
|
41 |
|
42 |
No. Temporary Login Without Password plugin creates temporary login link to login into WordPress. User only have to go
|
43 |
-
to
|
44 |
|
45 |
= 2. Can I disable Temporary user manually? =
|
46 |
|
@@ -61,12 +71,16 @@ No. at this moment it's not possible to do this.
|
|
61 |
== Screenshots ==
|
62 |
|
63 |
1. Create a new Temporary Login.
|
64 |
-
2. List of all (Active/Expired) Temporary
|
65 |
3. Temporary Login settings panel.
|
66 |
4. Update Temporary Login
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
|
|
70 |
**1.5.18 [2019-07-29]**
|
71 |
|
72 |
* Fix: Browser console error
|
@@ -92,7 +106,7 @@ No. at this moment it's not possible to do this.
|
|
92 |
|
93 |
**1.5.15 [2019-03-08]**
|
94 |
|
95 |
-
* Fix: Redirection after login gives "404 error" error on sub-site of WordPress
|
96 |
|
97 |
**1.5.14 [2019-01-14]**
|
98 |
|
@@ -116,7 +130,7 @@ No. at this moment it's not possible to do this.
|
|
116 |
|
117 |
**1.5.9 [2018-07-25]**
|
118 |
|
119 |
-
* Update: Added settings to set default expiration time. Now, admin don't have to select expiry time from
|
120 |
create a new temporary login.
|
121 |
|
122 |
**1.5.8 [2018-04-25]**
|
@@ -150,7 +164,7 @@ create a new temporary login.
|
|
150 |
|
151 |
**1.5.2 [2018-01-29]**
|
152 |
|
153 |
-
* Update: Now, admin can select roles from which they want to create a
|
154 |
* Fix: Temporary User with 'administrator' role shows as a 'Super Admin' for WordPress single site installation.
|
155 |
|
156 |
**1.5.1 [2018-01-19]**
|
@@ -159,7 +173,7 @@ create a new temporary login.
|
|
159 |
|
160 |
**1.5 [2018-01-08]**
|
161 |
|
162 |
-
* Update: Now, Temporary Login can be created for WordPress
|
163 |
* Update: Restrict Temporary user to delete other users.
|
164 |
|
165 |
**1.4.6 [2017-11-18]**
|
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.2.2
|
7 |
+
Stable tag: 1.5.19
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
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 star review on WordPress and also spread the word about it. That helps fellow website owners assess Temporary Login Without Password easily and benefit from it!
|
28 |
|
29 |
+
**What's Next**
|
30 |
+
|
31 |
+
If you like this plugin then consider checking out our other solutions:
|
32 |
+
|
33 |
+
[Smart Manager](https://wordpress.org/plugins/smart-manager-for-wp-e-commerce/) - Manage & Bulk edit Products, Orders & more..
|
34 |
+
|
35 |
+
[Icegram](https://wordpress.org/plugins/icegram/) - Popups, Welcome Bar, Opt-ins & Lead Generation plugin
|
36 |
+
|
37 |
+
[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.
|
38 |
+
|
39 |
+
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)
|
40 |
+
|
41 |
+
|
42 |
== Installation ==
|
43 |
|
44 |
1. Unzip downloaded folder and upload it to 'wp-content/plugins/' folder
|
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 |
|
71 |
== Screenshots ==
|
72 |
|
73 |
1. Create a new Temporary Login.
|
74 |
+
2. List of all (Active/Expired) Temporary Login.
|
75 |
3. Temporary Login settings panel.
|
76 |
4. Update Temporary Login
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
**1.5.19 [2019-08-16]**
|
81 |
+
|
82 |
+
* Fix: "404 Not Found" issue after clicking on temporary login link for WordPress sub directory installation.
|
83 |
+
|
84 |
**1.5.18 [2019-07-29]**
|
85 |
|
86 |
* Fix: Browser console error
|
106 |
|
107 |
**1.5.15 [2019-03-08]**
|
108 |
|
109 |
+
* 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.)
|
110 |
|
111 |
**1.5.14 [2019-01-14]**
|
112 |
|
130 |
|
131 |
**1.5.9 [2018-07-25]**
|
132 |
|
133 |
+
* Update: Added settings to set default expiration time. Now, admin don't have to select expiry time from dropdown every time when they
|
134 |
create a new temporary login.
|
135 |
|
136 |
**1.5.8 [2018-04-25]**
|
164 |
|
165 |
**1.5.2 [2018-01-29]**
|
166 |
|
167 |
+
* Update: Now, admin can select roles from which they want to create a Temporary Login.
|
168 |
* Fix: Temporary User with 'administrator' role shows as a 'Super Admin' for WordPress single site installation.
|
169 |
|
170 |
**1.5.1 [2018-01-19]**
|
173 |
|
174 |
**1.5 [2018-01-08]**
|
175 |
|
176 |
+
* Update: Now, Temporary Login can be created for WordPress Multi site. Super Admin can create a temporary super admin for multi site
|
177 |
* Update: Restrict Temporary user to delete other users.
|
178 |
|
179 |
**1.4.6 [2017-11-18]**
|
temporary-login-without-password.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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: https://storeapps.org
|
9 |
* Requires at least: 3.0.1
|
@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
26 |
* Define constants
|
27 |
*/
|
28 |
define( 'WTLWP_PLUGIN_DIR', dirname( __FILE__ ) );
|
29 |
-
define( 'WTLWP_PLUGIN_VERSION', '1.5.
|
30 |
define( 'WTLWP_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
|
31 |
|
32 |
/**
|
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.19
|
7 |
* Author: StoreApps
|
8 |
* Author URI: https://storeapps.org
|
9 |
* Requires at least: 3.0.1
|
26 |
* Define constants
|
27 |
*/
|
28 |
define( 'WTLWP_PLUGIN_DIR', dirname( __FILE__ ) );
|
29 |
+
define( 'WTLWP_PLUGIN_VERSION', '1.5.19' );
|
30 |
define( 'WTLWP_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
|
31 |
|
32 |
/**
|