WPS Hide Login - Version 1.1.4

Version Description

  • Fix: bypass the plugin when $pagenow is admin-post.php
Download this release

Release Info

Developer tabrisrp
Plugin Icon 128x128 WPS Hide Login
Version 1.1.4
Comparing to
See all releases

Code changes from version 1.1.3 to 1.1.4

Files changed (2) hide show
  1. readme.txt +4 -1
  2. wps-hide-login.php +3 -2
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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,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.3 =
80
  * Fix: issue if no 404 template in active theme directory
81
 
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.4
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.4 =
80
+ * Fix: bypass the plugin when $pagenow is admin-post.php
81
+
82
  = 1.1.3 =
83
  * Fix: issue if no 404 template in active theme directory
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.3
9
  Text Domain: wps-hide-login
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -388,7 +388,8 @@ if ( defined( 'ABSPATH' )
388
 
389
  if ( is_admin()
390
  && ! is_user_logged_in()
391
- && ! defined( 'DOING_AJAX' ) ) {
 
392
 
393
  status_header(404);
394
  nocache_headers();
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.4
9
  Text Domain: wps-hide-login
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
388
 
389
  if ( is_admin()
390
  && ! is_user_logged_in()
391
+ && ! defined( 'DOING_AJAX' )
392
+ && $pagenow !== 'admin-post.php' ) {
393
 
394
  status_header(404);
395
  nocache_headers();