Version Description
Download this release
Release Info
Developer | avryl |
Plugin | Rename wp-login.php |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2 to 2.2.1
- readme.md +1 -1
- readme.txt +1 -1
- rename-wp-login.php +3 -2
readme.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
**Tags:** rename, login, wp-login, wp-login.php, brute force attacks, custom login url, security
|
5 |
**Requires at least:** 3.8
|
6 |
**Tested up to:** 3.8
|
7 |
-
**Stable tag:** 2.2
|
8 |
**License:** GPLv2 or later
|
9 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
**Tags:** rename, login, wp-login, wp-login.php, brute force attacks, custom login url, security
|
5 |
**Requires at least:** 3.8
|
6 |
**Tested up to:** 3.8
|
7 |
+
**Stable tag:** 2.2.1
|
8 |
**License:** GPLv2 or later
|
9 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
5 |
Tags: rename, login, wp-login, wp-login.php, brute force attacks, custom login url, security
|
6 |
Requires at least: 3.8
|
7 |
Tested up to: 3.8
|
8 |
-
Stable tag: 2.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
5 |
Tags: rename, login, wp-login, wp-login.php, brute force attacks, custom login url, security
|
6 |
Requires at least: 3.8
|
7 |
Tested up to: 3.8
|
8 |
+
Stable tag: 2.2.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
rename-wp-login.php
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://wordpress.org/plugins/rename-wp-login/
|
|
6 |
Description: Change wp-login.php to whatever you want. It can also prevent a lot of brute force attacks.
|
7 |
Author: avryl
|
8 |
Author URI: http://profiles.wordpress.org/avryl/
|
9 |
-
Version: 2.2
|
10 |
Text Domain: rename-wp-login
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -405,7 +405,8 @@ if ( ! class_exists( 'Rename_WP_Login' )
|
|
405 |
|
406 |
$request = parse_url( $_SERVER['REQUEST_URI'] );
|
407 |
|
408 |
-
if ( strpos( $_SERVER['REQUEST_URI'], 'wp-login' ) !== false
|
|
|
409 |
|
410 |
$this->wp_login_php = true;
|
411 |
|
6 |
Description: Change wp-login.php to whatever you want. It can also prevent a lot of brute force attacks.
|
7 |
Author: avryl
|
8 |
Author URI: http://profiles.wordpress.org/avryl/
|
9 |
+
Version: 2.2.1
|
10 |
Text Domain: rename-wp-login
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
405 |
|
406 |
$request = parse_url( $_SERVER['REQUEST_URI'] );
|
407 |
|
408 |
+
if ( strpos( $_SERVER['REQUEST_URI'], 'wp-login' ) !== false
|
409 |
+
&& ! is_admin() ) {
|
410 |
|
411 |
$this->wp_login_php = true;
|
412 |
|