Version Description
- Fix: issue if no 404 template in active theme directory
Download this release
Release Info
Developer | tabrisrp |
Plugin | WPS Hide Login |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- readme.txt +5 -2
- wps-hide-login.php +4 -2
readme.txt
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Contributors: tabrisrp, WPServeur
|
4 |
Tags: rename, login, wp-login, wp-login.php, custom login url
|
5 |
Requires at least: 4.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -76,6 +76,9 @@ First step is to check your .htaccess file and compare it to a regular one, to s
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
79 |
= 1.1.2 =
|
80 |
* Modified priority on hooks to fix a problem with some configurations
|
81 |
|
3 |
Contributors: tabrisrp, WPServeur
|
4 |
Tags: rename, login, wp-login, wp-login.php, custom login url
|
5 |
Requires at least: 4.1
|
6 |
+
Tested up to: 4.4
|
7 |
+
Stable tag: 1.1.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 1.1.3 =
|
80 |
+
* Fix: issue if no 404 template in active theme directory
|
81 |
+
|
82 |
= 1.1.2 =
|
83 |
* Modified priority on hooks to fix a problem with some configurations
|
84 |
|
wps-hide-login.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://github.com/Tabrisrp/wps-hide-login
|
|
5 |
Description: Change your login url and remove access to wp-login.php page | Change votre url de connexion et supprime l'accès à la page wp-login.php (sécurité augmentée)
|
6 |
Author: WPServeur
|
7 |
Author URI: http://profiles.wordpress.org/tabrisrp/
|
8 |
-
Version: 1.1.
|
9 |
Text Domain: wps-hide-login
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -392,7 +392,9 @@ if ( defined( 'ABSPATH' )
|
|
392 |
|
393 |
status_header(404);
|
394 |
nocache_headers();
|
395 |
-
|
|
|
|
|
396 |
exit;
|
397 |
}
|
398 |
|
5 |
Description: Change your login url and remove access to wp-login.php page | Change votre url de connexion et supprime l'accès à la page wp-login.php (sécurité augmentée)
|
6 |
Author: WPServeur
|
7 |
Author URI: http://profiles.wordpress.org/tabrisrp/
|
8 |
+
Version: 1.1.3
|
9 |
Text Domain: wps-hide-login
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
392 |
|
393 |
status_header(404);
|
394 |
nocache_headers();
|
395 |
+
if ( get_404_template() ) {
|
396 |
+
include( get_404_template() );
|
397 |
+
}
|
398 |
exit;
|
399 |
}
|
400 |
|