Version Description
- Add redirect custom field.
- Better instructions in how to use the redirect field
Download this release
Release Info
Developer | nunosarmento |
Plugin | Change wp-admin login |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- assets/images/banner-1544x500.png +0 -0
- assets/images/banner-772x250.png +0 -0
- change-wp-admin-login.php +1 -1
- includes/class-change-wp-admin-login.php +1 -1
- languages/change-wp-admin-login-es.po +1 -1
- languages/change-wp-admin-login-fr_FR.po +1 -1
- languages/change-wp-admin-login-it.po +1 -1
- languages/change-wp-admin-login-pt_PT.po +1 -1
- languages/change-wp-admin-login-ru.po +1 -1
- languages/change-wp-admin-login.pot +1 -1
- readme.txt +9 -2
assets/images/banner-1544x500.png
CHANGED
Binary file
|
assets/images/banner-772x250.png
CHANGED
Binary file
|
change-wp-admin-login.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Change wp-admin login
|
4 |
Plugin URI: https://wordpress.org/plugins/change-wp-admin-login/
|
5 |
Description: Change wp-admin login to whatever you want. example: http://www.example.com/my-login. Go under Settings and then click on "Permalinks" and change your URL under "Change wp-admin login".
|
6 |
-
Version: 1.0.
|
7 |
Author: Nuno Morais Sarmento
|
8 |
Author URI: https://www.nuno-sarmento.com
|
9 |
Text Domain: change-wp-admin-login
|
3 |
Plugin Name: Change wp-admin login
|
4 |
Plugin URI: https://wordpress.org/plugins/change-wp-admin-login/
|
5 |
Description: Change wp-admin login to whatever you want. example: http://www.example.com/my-login. Go under Settings and then click on "Permalinks" and change your URL under "Change wp-admin login".
|
6 |
+
Version: 1.0.4
|
7 |
Author: Nuno Morais Sarmento
|
8 |
Author URI: https://www.nuno-sarmento.com
|
9 |
Text Domain: change-wp-admin-login
|
includes/class-change-wp-admin-login.php
CHANGED
@@ -232,7 +232,7 @@ if ( defined( 'ABSPATH' ) && ! class_exists( 'Change_WP_Admin_Login' ) ) {
|
|
232 |
public function rwl_redirect_func() {
|
233 |
$value = get_option( 'rwl_redirect_field' );
|
234 |
echo '<input type="text" value="' . esc_attr( $value ) . '" name="rwl_redirect_field" id="rwl_redirect_field" class="regular-text" />';
|
235 |
-
echo '<p class="description"><strong>' . __( 'If you leave the above field empty the plugin will add a redirect to the website homepage.', 'change-wp-admin-login' ) . '</strong></p>';
|
236 |
}
|
237 |
|
238 |
public function rwl_page_input() {
|
232 |
public function rwl_redirect_func() {
|
233 |
$value = get_option( 'rwl_redirect_field' );
|
234 |
echo '<input type="text" value="' . esc_attr( $value ) . '" name="rwl_redirect_field" id="rwl_redirect_field" class="regular-text" />';
|
235 |
+
echo '<p class="description"><strong>' . __( 'Use the slug name, example: "contact-me" - DO NOT USE the full website URL. If you leave the above field empty the plugin will add a redirect to the website homepage.', 'change-wp-admin-login' ) . '</strong></p>';
|
236 |
}
|
237 |
|
238 |
public function rwl_page_input() {
|
languages/change-wp-admin-login-es.po
CHANGED
@@ -57,7 +57,7 @@ msgstr ""
|
|
57 |
"\\”>Configuración de la red</a>."
|
58 |
|
59 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
60 |
-
msgid "If you leave the above field empty the plugin will add a redirect to the website homepage."
|
61 |
msgstr ""
|
62 |
|
63 |
#: ../includes/class-change-wp-admin-login.php:250
|
57 |
"\\”>Configuración de la red</a>."
|
58 |
|
59 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
60 |
+
msgid "Use the slug name, example: "contact-me" - DO NOT USE the full website URL. If you leave the above field empty the plugin will add a redirect to the website homepage."
|
61 |
msgstr ""
|
62 |
|
63 |
#: ../includes/class-change-wp-admin-login.php:250
|
languages/change-wp-admin-login-fr_FR.po
CHANGED
@@ -57,7 +57,7 @@ msgstr ""
|
|
57 |
"\\”>réglages du réseaux</a>."
|
58 |
|
59 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
60 |
-
msgid "If you leave the above field empty the plugin will add a redirect to the website homepage."
|
61 |
msgstr ""
|
62 |
|
63 |
#: ../includes/class-change-wp-admin-login.php:250
|
57 |
"\\”>réglages du réseaux</a>."
|
58 |
|
59 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
60 |
+
msgid "Use the slug name, example: "contact-me" - DO NOT USE the full website URL. If you leave the above field empty the plugin will add a redirect to the website homepage."
|
61 |
msgstr ""
|
62 |
|
63 |
#: ../includes/class-change-wp-admin-login.php:250
|
languages/change-wp-admin-login-it.po
CHANGED
@@ -57,7 +57,7 @@ msgstr ""
|
|
57 |
"\\”>Impostazioni di rete</a>."
|
58 |
|
59 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
60 |
-
msgid "If you leave the above field empty the plugin will add a redirect to the website homepage."
|
61 |
msgstr ""
|
62 |
|
63 |
#: ../includes/class-change-wp-admin-login.php:250
|
57 |
"\\”>Impostazioni di rete</a>."
|
58 |
|
59 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
60 |
+
msgid "Use the slug name, example: "contact-me" - DO NOT USE the full website URL. If you leave the above field empty the plugin will add a redirect to the website homepage."
|
61 |
msgstr ""
|
62 |
|
63 |
#: ../includes/class-change-wp-admin-login.php:250
|
languages/change-wp-admin-login-pt_PT.po
CHANGED
@@ -57,7 +57,7 @@ msgstr ""
|
|
57 |
"Configurações de rede </a>."
|
58 |
|
59 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
60 |
-
msgid "If you leave the above field empty the plugin will add a redirect to the website homepage."
|
61 |
msgstr ""
|
62 |
|
63 |
#: ../includes/class-change-wp-admin-login.php:250
|
57 |
"Configurações de rede </a>."
|
58 |
|
59 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
60 |
+
msgid "Use the slug name, example: "contact-me" - DO NOT USE the full website URL. If you leave the above field empty the plugin will add a redirect to the website homepage."
|
61 |
msgstr ""
|
62 |
|
63 |
#: ../includes/class-change-wp-admin-login.php:250
|
languages/change-wp-admin-login-ru.po
CHANGED
@@ -58,7 +58,7 @@ msgstr ""
|
|
58 |
"a>."
|
59 |
|
60 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
61 |
-
msgid "If you leave the above field empty the plugin will add a redirect to the website homepage."
|
62 |
msgstr ""
|
63 |
|
64 |
#: ../includes/class-change-wp-admin-login.php:250
|
58 |
"a>."
|
59 |
|
60 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
61 |
+
msgid "Use the slug name, example: "contact-me" - DO NOT USE the full website URL. If you leave the above field empty the plugin will add a redirect to the website homepage."
|
62 |
msgstr ""
|
63 |
|
64 |
#: ../includes/class-change-wp-admin-login.php:250
|
languages/change-wp-admin-login.pot
CHANGED
@@ -51,7 +51,7 @@ msgid ""
|
|
51 |
msgstr ""
|
52 |
|
53 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
54 |
-
msgid "If you leave the above field empty the plugin will add a redirect to the website homepage."
|
55 |
msgstr ""
|
56 |
|
57 |
#: ../includes/class-change-wp-admin-login.php:250
|
51 |
msgstr ""
|
52 |
|
53 |
#: ../includes/class-change-wp-admin-login.php.php:235
|
54 |
+
msgid "Use the slug name, example: "contact-me" - DO NOT USE the full website URL. If you leave the above field empty the plugin will add a redirect to the website homepage."
|
55 |
msgstr ""
|
56 |
|
57 |
#: ../includes/class-change-wp-admin-login.php:250
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Tags: change wp-login, rename wp-login, wp-admin, login, wp-login,
|
|
3 |
Contributors: nunosarmento
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.6
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPL-2.0+
|
8 |
|
9 |
|
@@ -17,9 +17,12 @@ Example: http://www.example.com/my-login.
|
|
17 |
|
18 |
== New Feature ==
|
19 |
|
20 |
-
Add redirect custom field
|
|
|
21 |
When someone tries to access the wp-login.php page or the wp-admin directory while not logged in will be redirect to the page that you defined on the redirect custom field.
|
22 |
|
|
|
|
|
23 |
== How to use the plugin ==
|
24 |
|
25 |
Step 1: Add new login URL
|
@@ -75,3 +78,7 @@ Yes, it does work. You should setup the login URL in each website (Settings-->Pe
|
|
75 |
= 1.0.3 =
|
76 |
* Add redirect custom field.
|
77 |
* When someone tries to access the wp-login.php page or the wp-admin directory while not logged in will be redirect to the page that you defined on the redirect custom field.
|
|
|
|
|
|
|
|
3 |
Contributors: nunosarmento
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.6
|
6 |
+
Stable tag: 1.0.4
|
7 |
License: GPL-2.0+
|
8 |
|
9 |
|
17 |
|
18 |
== New Feature ==
|
19 |
|
20 |
+
Add redirect custom field:
|
21 |
+
|
22 |
When someone tries to access the wp-login.php page or the wp-admin directory while not logged in will be redirect to the page that you defined on the redirect custom field.
|
23 |
|
24 |
+
If you leave the redirect field empty the plugin will add a redirect to the homepage.
|
25 |
+
|
26 |
== How to use the plugin ==
|
27 |
|
28 |
Step 1: Add new login URL
|
78 |
= 1.0.3 =
|
79 |
* Add redirect custom field.
|
80 |
* When someone tries to access the wp-login.php page or the wp-admin directory while not logged in will be redirect to the page that you defined on the redirect custom field.
|
81 |
+
|
82 |
+
= 1.0.4 =
|
83 |
+
* Add redirect custom field.
|
84 |
+
* Better instructions in how to use the redirect field
|