Version Description
- Fix the problem that an error occurs when suppressing the redirect from the management page to the login page
Download this release
Release Info
Developer | jp-secure |
Plugin | SiteGuard WP Plugin |
Version | 1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6.0 to 1.6.1
- classes/siteguard-rename-login.php +2 -5
- readme.txt +4 -2
- siteguard.php +1 -1
classes/siteguard-rename-login.php
CHANGED
@@ -190,11 +190,8 @@ class SiteGuard_RenameLogin extends SiteGuard_Base {
|
|
190 |
if ( $user_id = wp_validate_auth_cookie( '', $scheme) ) {
|
191 |
return $scheme;
|
192 |
}
|
193 |
-
|
194 |
-
|
195 |
-
$wp_query->set_404();
|
196 |
-
get_template_part( 404 );
|
197 |
-
exit();
|
198 |
}
|
199 |
}
|
200 |
}
|
190 |
if ( $user_id = wp_validate_auth_cookie( '', $scheme) ) {
|
191 |
return $scheme;
|
192 |
}
|
193 |
+
wp_safe_redirect( home_url( ) );
|
194 |
+
exit;
|
|
|
|
|
|
|
195 |
}
|
196 |
}
|
197 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: jp-secure
|
|
3 |
Donate link: -
|
4 |
Tags: security, waf, brute force, password list, login lock, login alert, captcha, pingback, fail once
|
5 |
Requires at least: 3.9
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -106,6 +106,8 @@ If you have created your own language pack, or have an update of an existing one
|
|
106 |
[Japanese Page](https://www.jp-secure.com/siteguard_wp_plugin/faq/)
|
107 |
|
108 |
== Changelog ==
|
|
|
|
|
109 |
= 1.6.0 =
|
110 |
* Add the "Block Author Query" feature
|
111 |
= 1.5.2 =
|
3 |
Donate link: -
|
4 |
Tags: security, waf, brute force, password list, login lock, login alert, captcha, pingback, fail once
|
5 |
Requires at least: 3.9
|
6 |
+
Tested up to: 6.0
|
7 |
+
Stable tag: 1.6.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
106 |
[Japanese Page](https://www.jp-secure.com/siteguard_wp_plugin/faq/)
|
107 |
|
108 |
== Changelog ==
|
109 |
+
= 1.6.1 =
|
110 |
+
* Fix the problem that an error occurs when suppressing the redirect from the management page to the login page
|
111 |
= 1.6.0 =
|
112 |
* Add the "Block Author Query" feature
|
113 |
= 1.5.2 =
|
siteguard.php
CHANGED
@@ -7,7 +7,7 @@ Author: JP-Secure
|
|
7 |
Author URI: http://www.jp-secure.com/eng/
|
8 |
Text Domain: siteguard
|
9 |
Domain Path: /languages/
|
10 |
-
Version: 1.6.
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2014 JP-Secure Inc
|
7 |
Author URI: http://www.jp-secure.com/eng/
|
8 |
Text Domain: siteguard
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 1.6.1
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2014 JP-Secure Inc
|