Rename wp-login.php - Version 2.2.7

Version Description

Download this release

Release Info

Developer avryl
Plugin Icon 128x128 Rename wp-login.php
Version 2.2.7
Comparing to
See all releases

Code changes from version 2.2.6 to 2.2.7

Files changed (3) hide show
  1. readme.md +1 -1
  2. readme.txt +1 -1
  3. rename-wp-login.php +4 -4
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.1
7
- **Stable tag:** 2.2.6
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.1
7
+ **Stable tag:** 2.2.7
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.1
8
- Stable tag: 2.2.6
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.1
8
+ Stable tag: 2.2.7
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.6
10
  Text Domain: rename-wp-login
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -59,9 +59,9 @@ if ( defined( 'ABSPATH' )
59
 
60
  wp();
61
 
62
- if ( $_SERVER['REQUEST_URI'] === str_repeat( '*', 10 ) ) {
63
 
64
- $_SERVER['REQUEST_URI'] = 'wp-login.php';
65
 
66
  }
67
 
@@ -417,7 +417,7 @@ if ( defined( 'ABSPATH' )
417
 
418
  $this->wp_login_php = true;
419
 
420
- $_SERVER['REQUEST_URI'] = str_repeat( '*', 10 );
421
 
422
  $pagenow = 'index.php';
423
 
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.7
10
  Text Domain: rename-wp-login
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
59
 
60
  wp();
61
 
62
+ if ( $_SERVER['REQUEST_URI'] === $this->user_trailingslashit( str_repeat( '-/', 10 ) ) ) {
63
 
64
+ $_SERVER['REQUEST_URI'] = $this->user_trailingslashit( '/wp-login-php/' );
65
 
66
  }
67
 
417
 
418
  $this->wp_login_php = true;
419
 
420
+ $_SERVER['REQUEST_URI'] = $this->user_trailingslashit( '/' . str_repeat( '-/', 10 ) );
421
 
422
  $pagenow = 'index.php';
423