Version Description
- add site URL before the new redirect input field
Download this release
Release Info
Developer | nunosarmento |
Plugin | Change wp-admin login |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- change-wp-admin-login.php +1 -1
- includes/class-change-wp-admin-login.php +2 -2
- readme.txt +4 -1
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.5
|
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
@@ -231,8 +231,8 @@ if ( defined( 'ABSPATH' ) && ! class_exists( 'Change_WP_Admin_Login' ) ) {
|
|
231 |
// new redirect field
|
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>' . __( '
|
236 |
}
|
237 |
|
238 |
public function rwl_page_input() {
|
231 |
// new redirect field
|
232 |
public function rwl_redirect_func() {
|
233 |
$value = get_option( 'rwl_redirect_field' );
|
234 |
+
echo '<code>' . trailingslashit( home_url() ) . '</code> <input type="text" value="' . esc_attr( $value ) . '" name="rwl_redirect_field" id="rwl_redirect_field" class="regular-text" /> <code>/</code>';
|
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() {
|
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 |
|
@@ -82,3 +82,6 @@ Yes, it does work. You should setup the login URL in each website (Settings-->Pe
|
|
82 |
= 1.0.4 =
|
83 |
* Add redirect custom field.
|
84 |
* Better instructions in how to use the redirect field
|
|
|
|
|
|
3 |
Contributors: nunosarmento
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.6
|
6 |
+
Stable tag: 1.0.5
|
7 |
License: GPL-2.0+
|
8 |
|
9 |
|
82 |
= 1.0.4 =
|
83 |
* Add redirect custom field.
|
84 |
* Better instructions in how to use the redirect field
|
85 |
+
|
86 |
+
= 1.0.5 =
|
87 |
+
* add site URL before the new redirect input field
|