Version Description
- Fix: Stop displaying the new login url notice everywhere when settings are updated (thanks @ kmelia on GitHub)
- Improvement: better way of retrieving the 404 template
Download this release
Release Info
Developer | tabrisrp |
Plugin | WPS Hide Login |
Version | 1.1.5 |
Comparing to | |
See all releases |
Code changes from version 1.1.4 to 1.1.5
- readme.txt +6 -14
- wps-hide-login.php +4 -3
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 |
|
@@ -37,18 +37,6 @@ For W3 Total Cache and WP Super Cache this plugin will give you a message with a
|
|
37 |
|
38 |
https://github.com/tabrisrp/wps-hide-login
|
39 |
|
40 |
-
= Description Française =
|
41 |
-
WPS Hide Login est un plugin très léger qui vous permet facilement et en toute sécurité de modifier l'URL de connexion en ce que vous voulez.
|
42 |
-
|
43 |
-
Il ne renomme pas ou ne modifie pas de fichiers dans le noyau, et n'ajoute pas de règles de réécriture. Il intercepte tout simplement les demandes de page et fonctionne sur n'importe quel site WordPress.
|
44 |
-
|
45 |
-
La page wp-login.php et le répertoire wp-admin deviennent donc inaccessibles, vous devrez donc bookmarker ou vous rappeler l'url. Désactiver ce plugin ramène tout simplement votre site à son état initial.
|
46 |
-
|
47 |
-
= Compatibilité =
|
48 |
-
Nécessite WordPress 4.1 ou supérieur.
|
49 |
-
|
50 |
-
Si vous utilisez un plugin de cache autre que WP Rocket, vous devrez ajouter la nouvelle URL de connexion à la liste des pages à ne pas mettre en cache.
|
51 |
-
|
52 |
== Installation ==
|
53 |
|
54 |
1. Go to Plugins › Add New.
|
@@ -76,6 +64,10 @@ First step is to check your .htaccess file and compare it to a regular one, to s
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
|
|
79 |
= 1.1.4 =
|
80 |
* Fix: bypass the plugin when $pagenow is admin-post.php
|
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.5
|
7 |
+
Stable tag: 1.1.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
37 |
|
38 |
https://github.com/tabrisrp/wps-hide-login
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
== Installation ==
|
41 |
|
42 |
1. Go to Plugins › Add New.
|
64 |
|
65 |
== Changelog ==
|
66 |
|
67 |
+
= 1.1.5 =
|
68 |
+
* Fix: Stop displaying the new login url notice everywhere when settings are updated (thanks @ kmelia on GitHub)
|
69 |
+
* Improvement: better way of retrieving the 404 template
|
70 |
+
|
71 |
= 1.1.4 =
|
72 |
* Fix: bypass the plugin when $pagenow is admin-post.php
|
73 |
|
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
|
@@ -322,7 +322,8 @@ if ( defined( 'ABSPATH' )
|
|
322 |
|
323 |
if ( ! is_network_admin()
|
324 |
&& $pagenow === 'options-general.php'
|
325 |
-
&& isset( $_GET['settings-updated'] )
|
|
|
326 |
|
327 |
echo '<div class="updated notice is-dismissible"><p>' . sprintf( __( 'Your login page is now here: <strong><a href="%1$s">%2$s</a></strong>. Bookmark this page!', 'wps-hide-login' ), $this->new_login_url(), $this->new_login_url() ) . '</p></div>';
|
328 |
|
@@ -394,7 +395,7 @@ if ( defined( 'ABSPATH' )
|
|
394 |
status_header(404);
|
395 |
nocache_headers();
|
396 |
if ( get_404_template() ) {
|
397 |
-
|
398 |
}
|
399 |
exit;
|
400 |
}
|
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.5
|
9 |
Text Domain: wps-hide-login
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
322 |
|
323 |
if ( ! is_network_admin()
|
324 |
&& $pagenow === 'options-general.php'
|
325 |
+
&& isset( $_GET['settings-updated'] )
|
326 |
+
&& ! isset( $_GET['page'] ) ) {
|
327 |
|
328 |
echo '<div class="updated notice is-dismissible"><p>' . sprintf( __( 'Your login page is now here: <strong><a href="%1$s">%2$s</a></strong>. Bookmark this page!', 'wps-hide-login' ), $this->new_login_url(), $this->new_login_url() ) . '</p></div>';
|
329 |
|
395 |
status_header(404);
|
396 |
nocache_headers();
|
397 |
if ( get_404_template() ) {
|
398 |
+
locate_template( array( '404.php' ), true, true );
|
399 |
}
|
400 |
exit;
|
401 |
}
|