Version Description
Download this release
Release Info
Developer | sean212 |
Plugin | Lockdown WP Admin |
Version | 1.3.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.5 to 1.3.5.1
- lockdown-wp-admin.php +3 -3
- readme.txt +1 -1
lockdown-wp-admin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Lockdown WordPress Admin
|
4 |
Plugin URI: http://talkingwithsean.com/2011/01/lockdown-wp-admin/
|
5 |
Description: Securing the WordPress Administration interface.
|
6 |
-
Version: 1.3.5
|
7 |
Author: Sean Fisher
|
8 |
Author URI: http://talkingwithsean.com/
|
9 |
License: GPL v3
|
@@ -539,10 +539,10 @@ class WP_LockAuth {
|
|
539 |
// Remove trailing slash
|
540 |
$base = rtrim($base,"/");
|
541 |
$exp = explode( '/', $base, 2 );
|
542 |
-
$
|
543 |
|
544 |
// Are they visiting wp-login.php?
|
545 |
-
if ( $
|
546 |
{
|
547 |
status_header(404);
|
548 |
require( get_404_template() );
|
3 |
Plugin Name: Lockdown WordPress Admin
|
4 |
Plugin URI: http://talkingwithsean.com/2011/01/lockdown-wp-admin/
|
5 |
Description: Securing the WordPress Administration interface.
|
6 |
+
Version: 1.3.5.1
|
7 |
Author: Sean Fisher
|
8 |
Author URI: http://talkingwithsean.com/
|
9 |
License: GPL v3
|
539 |
// Remove trailing slash
|
540 |
$base = rtrim($base,"/");
|
541 |
$exp = explode( '/', $base, 2 );
|
542 |
+
$super_base = reset( $exp );
|
543 |
|
544 |
// Are they visiting wp-login.php?
|
545 |
+
if ( $super_base == 'wp-login.php')
|
546 |
{
|
547 |
status_header(404);
|
548 |
require( get_404_template() );
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Link: http://talkingwithsean.com/2011/01/lockdown-wp-admin/
|
|
5 |
Tags: security, wp-admin, http auth, 404, lockdown, talkingwithsean, secure
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 3.2
|
8 |
-
Stable tag: 1.3.5
|
9 |
|
10 |
This plugin will hide /wp-admin/ when you aren't logged in. If a user isn't logged in and they attempt to access /wp-admin/ directly, they will be unable to and it will return a 404.
|
11 |
|
5 |
Tags: security, wp-admin, http auth, 404, lockdown, talkingwithsean, secure
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 3.2
|
8 |
+
Stable tag: 1.3.5.1
|
9 |
|
10 |
This plugin will hide /wp-admin/ when you aren't logged in. If a user isn't logged in and they attempt to access /wp-admin/ directly, they will be unable to and it will return a 404.
|
11 |
|