Version Description
- Modified priority on hooks to fix a problem with some configurations
Download this release
Release Info
Developer | tabrisrp |
Plugin | WPS Hide Login |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- languages/wps-hide-login-fr_FR.mo +0 -0
- languages/wps-hide-login-fr_FR.po +0 -90
- readme.txt +15 -5
- wps-hide-login.php +5 -5
languages/wps-hide-login-fr_FR.mo
DELETED
Binary file
|
languages/wps-hide-login-fr_FR.po
DELETED
@@ -1,90 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: WPS Hide Login 1.0\n"
|
4 |
-
"POT-Creation-Date: 2015-04-27 10:27+0100\n"
|
5 |
-
"PO-Revision-Date: 2015-04-27 10:28+0100\n"
|
6 |
-
"Last-Translator: Rémy Perona <remperona@gmail.com>\n"
|
7 |
-
"Language-Team: Rémy Perona <remperona@gmail.com>\n"
|
8 |
-
"Language: fr\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.7.1\n"
|
13 |
-
"X-Poedit-Basepath: .\n"
|
14 |
-
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __\n"
|
17 |
-
"X-Poedit-SearchPath-0: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-"
|
18 |
-
"login\n"
|
19 |
-
|
20 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:186
|
21 |
-
msgid "Please upgrade to the latest version of WordPress to activate"
|
22 |
-
msgstr "Veuillez mettre à jour WordPress dans sa dernière version pour activer"
|
23 |
-
|
24 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:186
|
25 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:208
|
26 |
-
msgid "WPS Hide Login"
|
27 |
-
msgstr "WPS Hide Login"
|
28 |
-
|
29 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:192
|
30 |
-
msgid ""
|
31 |
-
"WPS Hide Login could not be activated because you already have Rename wp-login.php "
|
32 |
-
"active. Please uninstall rename wp-login.php to use WPS Hide Login"
|
33 |
-
msgstr ""
|
34 |
-
"WPS Hide Login n'a pas pu être activé car vous avez déjà Rename wp-login.php actif. "
|
35 |
-
"Veuillez désinstaller Rename wp-login.php pour utiliser WPS Hide Login"
|
36 |
-
|
37 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:209
|
38 |
-
msgid ""
|
39 |
-
"This option allows you to set a networkwide default, which can be overridden by "
|
40 |
-
"individual sites. Simply go to to the site’s permalink settings to change the url."
|
41 |
-
msgstr ""
|
42 |
-
"Cette option vous permet de définir un réglage par défaut pour le réseau, qui peut "
|
43 |
-
"ensuite être remplacé pour chaque site individuellement. Allez simplement dans les "
|
44 |
-
"réglages des permaliens du site pour changer l'url."
|
45 |
-
|
46 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:210
|
47 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:286
|
48 |
-
#, php-format
|
49 |
-
msgid "Need help? Try the <a href=\"%s\" target=\"_blank\">support forum</a>."
|
50 |
-
msgstr ""
|
51 |
-
"Besoin d'aide ? Essayez le <a href=\"%s\" target=\"_blank\">forum d'assistance</a>."
|
52 |
-
|
53 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:213
|
54 |
-
msgid "Networkwide default"
|
55 |
-
msgstr "Réglage par défaut du réseau"
|
56 |
-
|
57 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:247
|
58 |
-
msgid "Login url"
|
59 |
-
msgstr "URL de connexion"
|
60 |
-
|
61 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:294
|
62 |
-
#, php-format
|
63 |
-
msgid "To set a networkwide default, go to <a href=\"%s\">Network Settings</a>."
|
64 |
-
msgstr ""
|
65 |
-
"Pour définir un réglage par défaut pour le réseau, allez aux <a href=\"%s"
|
66 |
-
"\">réglages du réseaux</a>."
|
67 |
-
|
68 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:326
|
69 |
-
#, php-format
|
70 |
-
msgid ""
|
71 |
-
"Your login page is now here: <strong><a href=\"%1$s\">%2$s</a></strong>. Bookmark "
|
72 |
-
"this page!"
|
73 |
-
msgstr ""
|
74 |
-
"Votre page de connexion est maintenant ici : <strong><a href=\"%1$s\">%2$s</a></"
|
75 |
-
"strong>. Mettez-la en favori !"
|
76 |
-
|
77 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:337
|
78 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:341
|
79 |
-
msgid "Settings"
|
80 |
-
msgstr "Réglages"
|
81 |
-
|
82 |
-
#: /Users/Yui/Sites/wordpress/wp-content/plugins/wps-hide-login/wps-hide-login.php:357
|
83 |
-
msgid "This feature is not enabled."
|
84 |
-
msgstr "Cette fonctionnalité n'est pas activée."
|
85 |
-
|
86 |
-
#~ msgid "Rename wp-login.php"
|
87 |
-
#~ msgstr "Rename wp-login.php"
|
88 |
-
|
89 |
-
#~ msgid "You must log in to access the admin area."
|
90 |
-
#~ msgstr "Vous devez être connecté pour accéder la zone d'administration."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|
@@ -29,7 +29,9 @@ Obviously it doesn’t work with plugins that *hardcoded* wp-login.php.
|
|
29 |
|
30 |
Works with multisite, but not tested with subdomains. Activating it for a network allows you to set a networkwide default. Individual sites can still rename their login page to something else.
|
31 |
|
32 |
-
If you’re using a **page caching plugin** you should add the slug of the new login url to the list of pages not to cache.
|
|
|
|
|
33 |
|
34 |
= GitHub =
|
35 |
|
@@ -42,10 +44,10 @@ Il ne renomme pas ou ne modifie pas de fichiers dans le noyau, et n'ajoute pas d
|
|
42 |
|
43 |
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.
|
44 |
|
45 |
-
Compatibilité
|
46 |
Nécessite WordPress 4.1 ou supérieur.
|
47 |
|
48 |
-
Si vous utilisez un plugin de cache, vous devrez ajouter la nouvelle URL de connexion à la liste des pages à ne pas mettre en cache.
|
49 |
|
50 |
== Installation ==
|
51 |
|
@@ -67,8 +69,16 @@ Either go to your MySQL database and look for the value of `whl_page` in the opt
|
|
67 |
|
68 |
On a multisite install the `whl_page` option will be in the sitemeta table, if there is no such option in the options table.
|
69 |
|
|
|
|
|
|
|
|
|
|
|
70 |
== Changelog ==
|
71 |
|
|
|
|
|
|
|
72 |
= 1.1.1 =
|
73 |
* Check for Rename wp-login.php activation before activating WPS Hide Login to prevent conflict
|
74 |
|
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.3
|
7 |
+
Stable tag: 1.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
29 |
|
30 |
Works with multisite, but not tested with subdomains. Activating it for a network allows you to set a networkwide default. Individual sites can still rename their login page to something else.
|
31 |
|
32 |
+
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.
|
33 |
+
|
34 |
+
For W3 Total Cache and WP Super Cache this plugin will give you a message with a link to the field you should update.
|
35 |
|
36 |
= GitHub =
|
37 |
|
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 |
|
69 |
|
70 |
On a multisite install the `whl_page` option will be in the sitemeta table, if there is no such option in the options table.
|
71 |
|
72 |
+
= I'm locked out! =
|
73 |
+
This case can come from plugins modifying your .htaccess files to add or change rules, or from an old WordPress MU configuration not updated since Multisite was added.
|
74 |
+
|
75 |
+
First step is to check your .htaccess file and compare it to a regular one, to see if the problem comes from it.
|
76 |
+
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 1.1.2 =
|
80 |
+
* Modified priority on hooks to fix a problem with some configurations
|
81 |
+
|
82 |
= 1.1.1 =
|
83 |
* Check for Rename wp-login.php activation before activating WPS Hide Login to prevent conflict
|
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
|
@@ -150,7 +150,7 @@ if ( defined( 'ABSPATH' )
|
|
150 |
}
|
151 |
|
152 |
add_action( 'admin_init', array( $this, 'admin_init' ) );
|
153 |
-
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ),
|
154 |
add_action( 'admin_notices', array( $this, 'admin_notices' ) );
|
155 |
add_action( 'network_admin_notices', array( $this, 'admin_notices' ) );
|
156 |
add_action( 'wp_loaded', array( $this, 'wp_loaded' ) );
|
@@ -208,7 +208,7 @@ if ( defined( 'ABSPATH' )
|
|
208 |
|
209 |
$out .= '<h3>' . __( 'WPS Hide Login', 'wps-hide-login') . '</h3>';
|
210 |
$out .= '<p>' . __( 'This option allows you to set a networkwide default, which can be overridden by individual sites. Simply go to to the site’s permalink settings to change the url.', 'wps-hide-login' ) . '</p>';
|
211 |
-
$out .= '<p>' . sprintf( __( 'Need help? Try the <a href="%s" target="_blank">support forum</a>.', 'wps-hide-login' ), 'http://wordpress.org/support/plugin/wps-hide-login/' ) . '</p>';
|
212 |
$out .= '<table class="form-table">';
|
213 |
$out .= '<tr valign="top">';
|
214 |
$out .= '<th scope="row"><label for="whl_page">' . __( 'Networkwide default', 'wps-hide-login' ) . '</label></th>';
|
@@ -284,7 +284,7 @@ if ( defined( 'ABSPATH' )
|
|
284 |
if ( ! is_multisite()
|
285 |
|| is_super_admin() ) {
|
286 |
|
287 |
-
$out .= '<p>' . sprintf( __( 'Need help? Try the <a href="%s" target="_blank">support forum</a>.', 'wps-hide-login' ), 'http://wordpress.org/support/plugin/wps-hide-login/' ) . '</p>';
|
288 |
|
289 |
}
|
290 |
|
@@ -513,5 +513,5 @@ if ( defined( 'ABSPATH' )
|
|
513 |
|
514 |
}
|
515 |
|
516 |
-
add_action( 'plugins_loaded', array( 'WPS_Hide_Login', 'get_instance' ) );
|
517 |
}
|
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.2
|
9 |
Text Domain: wps-hide-login
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
150 |
}
|
151 |
|
152 |
add_action( 'admin_init', array( $this, 'admin_init' ) );
|
153 |
+
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ), 2 );
|
154 |
add_action( 'admin_notices', array( $this, 'admin_notices' ) );
|
155 |
add_action( 'network_admin_notices', array( $this, 'admin_notices' ) );
|
156 |
add_action( 'wp_loaded', array( $this, 'wp_loaded' ) );
|
208 |
|
209 |
$out .= '<h3>' . __( 'WPS Hide Login', 'wps-hide-login') . '</h3>';
|
210 |
$out .= '<p>' . __( 'This option allows you to set a networkwide default, which can be overridden by individual sites. Simply go to to the site’s permalink settings to change the url.', 'wps-hide-login' ) . '</p>';
|
211 |
+
$out .= '<p>' . sprintf( __( 'Need help? Try the <a href="%1$s" target="_blank">support forum</a>. This plugin is kindly brought to you by <a href="%2$s" target="_blank">WPServeur</a>.', 'wps-hide-login' ), 'http://wordpress.org/support/plugin/wps-hide-login/', 'https://www.wpserveur.net' ) . '</p>';
|
212 |
$out .= '<table class="form-table">';
|
213 |
$out .= '<tr valign="top">';
|
214 |
$out .= '<th scope="row"><label for="whl_page">' . __( 'Networkwide default', 'wps-hide-login' ) . '</label></th>';
|
284 |
if ( ! is_multisite()
|
285 |
|| is_super_admin() ) {
|
286 |
|
287 |
+
$out .= '<p>' . sprintf( __( 'Need help? Try the <a href="%1$s" target="_blank">support forum</a>. This plugin is kindly brought to you by <a href="%2$s" target="_blank">WPServeur</a>.', 'wps-hide-login' ), 'http://wordpress.org/support/plugin/wps-hide-login/', 'https://www.wpserveur.net' ) . '</p>';
|
288 |
|
289 |
}
|
290 |
|
513 |
|
514 |
}
|
515 |
|
516 |
+
add_action( 'plugins_loaded', array( 'WPS_Hide_Login', 'get_instance' ), 1 );
|
517 |
}
|