Version Description
- Fix : Too many redirects when a user clicks Log in with WordPress.com
Download this release
Release Info
Developer | NicolasKulka |
Plugin | WPS Hide Login |
Version | 1.4.4 |
Comparing to | |
See all releases |
Code changes from version 1.4.3 to 1.4.4
- classes/plugin.php +4 -0
- readme.txt +9 -4
- wps-hide-login.php +3 -2
classes/plugin.php
CHANGED
@@ -475,6 +475,10 @@ class Plugin {
|
|
475 |
|
476 |
public function wp_redirect( $location, $status ) {
|
477 |
|
|
|
|
|
|
|
|
|
478 |
return $this->filter_wp_login_php( $location );
|
479 |
|
480 |
}
|
475 |
|
476 |
public function wp_redirect( $location, $status ) {
|
477 |
|
478 |
+
if ( strpos( $location, 'https://wordpress.com/wp-login.php' ) !== false ) {
|
479 |
+
return $location;
|
480 |
+
}
|
481 |
+
|
482 |
return $this->filter_wp_login_php( $location );
|
483 |
|
484 |
}
|
readme.txt
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
|
3 |
Contributors: tabrisrp, WPServeur, nicolaskulka
|
4 |
Donate link : https://www.paypal.me/donateWPServeur
|
5 |
-
Tags: rename, login, wp-login, wp-login.php, custom login url
|
6 |
Requires at least: 4.1
|
7 |
Tested up to: 4.9
|
8 |
-
Stable tag: 1.4.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -49,12 +49,13 @@ Il est également compatible avec tout plugin qui se connecte au formulaire de c
|
|
49 |
|
50 |
* BuddyPress,
|
51 |
* bbPress,
|
|
|
52 |
* Limit Login Attempts,
|
53 |
* and User Switching.
|
54 |
|
55 |
Évidemment, cela ne fonctionne pas avec les plugins ou les thèmes *hardcoded* wp-login.php.
|
56 |
|
57 |
-
Fonctionne en multisite,
|
58 |
|
59 |
Si vous utilisez un **plugin de mise en cache de pages** autre que WP Rocket, vous devez ajouter le slug de la nouvelle URL de connexion à la liste des pages à ne pas mettre en cache. WP Rocket est déjà entièrement compatible avec le plugin.
|
60 |
|
@@ -68,12 +69,13 @@ It’s also compatible with any plugin that hooks in the login form, including:
|
|
68 |
|
69 |
* BuddyPress,
|
70 |
* bbPress,
|
|
|
71 |
* Limit Login Attempts,
|
72 |
* and User Switching.
|
73 |
|
74 |
Obviously it doesn’t work with plugins or themes that *hardcoded* wp-login.php.
|
75 |
|
76 |
-
Works with multisite,
|
77 |
|
78 |
If you’re using a **page caching plugin** other than WP Rocket, you should add the slug of the new login url to the list of pages not to cache. WP Rocket is already fully compatible with the plugin.
|
79 |
|
@@ -143,6 +145,9 @@ First step is to check your .htaccess file and compare it to a regular one, to s
|
|
143 |
|
144 |
== Changelog ==
|
145 |
|
|
|
|
|
|
|
146 |
= 1.4.3 =
|
147 |
* Fix : Fatal Error with multisite WP
|
148 |
|
2 |
|
3 |
Contributors: tabrisrp, WPServeur, nicolaskulka
|
4 |
Donate link : https://www.paypal.me/donateWPServeur
|
5 |
+
Tags: rename, login, wp-login, wp-login.php, custom login url, jetpack
|
6 |
Requires at least: 4.1
|
7 |
Tested up to: 4.9
|
8 |
+
Stable tag: 1.4.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
49 |
|
50 |
* BuddyPress,
|
51 |
* bbPress,
|
52 |
+
* Jetpack,
|
53 |
* Limit Login Attempts,
|
54 |
* and User Switching.
|
55 |
|
56 |
Évidemment, cela ne fonctionne pas avec les plugins ou les thèmes *hardcoded* wp-login.php.
|
57 |
|
58 |
+
Fonctionne en multisite, avec sous-domaines ou sous dossiers. L'activer pour un réseau vous permet de définir une valeur par défaut pour l'ensemble du réseau. Les sites individuels peuvent toujours renommer leur page de connexion pour autre chose.
|
59 |
|
60 |
Si vous utilisez un **plugin de mise en cache de pages** autre que WP Rocket, vous devez ajouter le slug de la nouvelle URL de connexion à la liste des pages à ne pas mettre en cache. WP Rocket est déjà entièrement compatible avec le plugin.
|
61 |
|
69 |
|
70 |
* BuddyPress,
|
71 |
* bbPress,
|
72 |
+
* Jetpack,
|
73 |
* Limit Login Attempts,
|
74 |
* and User Switching.
|
75 |
|
76 |
Obviously it doesn’t work with plugins or themes that *hardcoded* wp-login.php.
|
77 |
|
78 |
+
Works with multisite, with subdomains and subfolders. Activating it for a network allows you to set a networkwide default. Individual sites can still rename their login page to something else.
|
79 |
|
80 |
If you’re using a **page caching plugin** other than WP Rocket, you should add the slug of the new login url to the list of pages not to cache. WP Rocket is already fully compatible with the plugin.
|
81 |
|
145 |
|
146 |
== Changelog ==
|
147 |
|
148 |
+
= 1.4.4 =
|
149 |
+
* Fix : Too many redirects when a user clicks “Log in with WordPress.com”
|
150 |
+
|
151 |
= 1.4.3 =
|
152 |
* Fix : Fatal Error with multisite WP
|
153 |
|
wps-hide-login.php
CHANGED
@@ -5,9 +5,10 @@ Description: Protect your website by changing the login URL and preventing acces
|
|
5 |
Donate link: https://www.paypal.me/donateWPServeur
|
6 |
Author: WPServeur, NicolasKulka, tabrisrp
|
7 |
Author URI: https://wpserveur.net
|
8 |
-
Version: 1.4.
|
9 |
Requires at least: 4.1
|
10 |
Tested up to: 4.9
|
|
|
11 |
Domain Path: languages
|
12 |
Text Domain: wpserveur-hide-login
|
13 |
License: GPLv2 or later
|
@@ -20,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
}
|
21 |
|
22 |
// Plugin constants
|
23 |
-
define( 'WPS_HIDE_LOGIN_VERSION', '1.4.
|
24 |
define( 'WPS_HIDE_LOGIN_FOLDER', 'wps-hide-login' );
|
25 |
|
26 |
define( 'WPS_HIDE_LOGIN_URL', plugin_dir_url( __FILE__ ) );
|
5 |
Donate link: https://www.paypal.me/donateWPServeur
|
6 |
Author: WPServeur, NicolasKulka, tabrisrp
|
7 |
Author URI: https://wpserveur.net
|
8 |
+
Version: 1.4.4
|
9 |
Requires at least: 4.1
|
10 |
Tested up to: 4.9
|
11 |
+
Requires PHP: 7.0
|
12 |
Domain Path: languages
|
13 |
Text Domain: wpserveur-hide-login
|
14 |
License: GPLv2 or later
|
21 |
}
|
22 |
|
23 |
// Plugin constants
|
24 |
+
define( 'WPS_HIDE_LOGIN_VERSION', '1.4.4' );
|
25 |
define( 'WPS_HIDE_LOGIN_FOLDER', 'wps-hide-login' );
|
26 |
|
27 |
define( 'WPS_HIDE_LOGIN_URL', plugin_dir_url( __FILE__ ) );
|