Rename wp-login.php - Version 2.5.4

Version Description

  • Added i18n support.
Download this release

Release Info

Developer iseulde
Plugin Icon 128x128 Rename wp-login.php
Version 2.5.4
Comparing to
See all releases

Code changes from version 2.5.5 to 2.5.4

Files changed (2) hide show
  1. readme.txt +4 -10
  2. rename-wp-login.php +5 -7
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Rename wp-login.php ===
2
 
3
- Contributors: iseulde, IvanRF
4
  Tags: rename, login, wp-login, wp-login.php, custom login url
5
  Requires at least: 4.4
6
  Tested up to: 4.4.1
7
- Stable tag: 2.5.5
8
  License: GPL-2.0+
9
 
10
  Change wp-login.php to anything you want.
@@ -17,7 +17,7 @@ Change wp-login.php to anything you want.
17
 
18
  = Compatibility =
19
 
20
- All login related things such as the registration form, lost password form, login widget and expired sessions just keep working.
21
 
22
  It’s also compatible with any plugin that hooks in the login form, including
23
 
@@ -30,9 +30,7 @@ Obviously it doesn’t work with plugins that *hardcoded* wp-login.php.
30
 
31
  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.
32
 
33
- 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.
34
-
35
- If you wish, you can block wp-login.php with `.htaccess` from now on.
36
 
37
  == Installation ==
38
 
@@ -52,10 +50,6 @@ On a multisite install the `rwl_page` option will be in the sitemeta table, if t
52
 
53
  == Changelog ==
54
 
55
- = 2.5.5 =
56
-
57
- * Add missing `load_plugin_textdomain`.
58
-
59
  = 2.5.4 =
60
 
61
  * Added i18n support.
1
  === Rename wp-login.php ===
2
 
3
+ Contributors: iseulde
4
  Tags: rename, login, wp-login, wp-login.php, custom login url
5
  Requires at least: 4.4
6
  Tested up to: 4.4.1
7
+ Stable tag: 2.5.4
8
  License: GPL-2.0+
9
 
10
  Change wp-login.php to anything you want.
17
 
18
  = Compatibility =
19
 
20
+ Requires WordPress 4.1 or higher. All login related things such as the registration form, lost password form, login widget and expired sessions just keep working.
21
 
22
  It’s also compatible with any plugin that hooks in the login form, including
23
 
30
 
31
  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.
32
 
33
+ 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. For W3 Total Cache and WP Super Cache this plugin will give you a message with a link to the field you should update.
 
 
34
 
35
  == Installation ==
36
 
50
 
51
  == Changelog ==
52
 
 
 
 
 
53
  = 2.5.4 =
54
 
55
  * Added i18n support.
rename-wp-login.php CHANGED
@@ -4,9 +4,9 @@
4
  * Plugin Name: Rename wp-login.php
5
  * Plugin URI: https://wordpress.org/plugins/rename-wp-login/
6
  * Description: Change wp-login.php to whatever you want.
7
- * Version: 2.5.5
8
- * Author: Ella Iseulde Van Dorpe
9
- * Author URI: https://iseulde.com
10
  * Text Domain: rename-wp-login
11
  * Domain Path:
12
  * Network:
@@ -247,9 +247,9 @@ if ( defined( 'ABSPATH' ) && ! class_exists( 'Rename_WP_Login' ) ) {
247
 
248
  public function plugin_action_links( $links ) {
249
  if ( is_network_admin() && is_plugin_active_for_network( $this->basename() ) ) {
250
- array_unshift( $links, '<a href="' . network_admin_url( 'settings.php#rwl-page-input' ) . '">' . __( 'Settings', 'rename-wp-login' ) . '</a>' );
251
  } elseif ( ! is_network_admin() ) {
252
- array_unshift( $links, '<a href="' . admin_url( 'options-permalink.php#rwl-page-input' ) . '">' . __( 'Settings', 'rename-wp-login' ) . '</a>' );
253
  }
254
 
255
  return $links;
@@ -258,8 +258,6 @@ if ( defined( 'ABSPATH' ) && ! class_exists( 'Rename_WP_Login' ) ) {
258
  public function plugins_loaded() {
259
  global $pagenow;
260
 
261
- load_plugin_textdomain( 'rename-wp-login' );
262
-
263
  if (
264
  ! is_multisite() && (
265
  strpos( $_SERVER['REQUEST_URI'], 'wp-signup' ) !== false ||
4
  * Plugin Name: Rename wp-login.php
5
  * Plugin URI: https://wordpress.org/plugins/rename-wp-login/
6
  * Description: Change wp-login.php to whatever you want.
7
+ * Version: 2.5.4
8
+ * Author: iseulde
9
+ * Author URI: https://profiles.wordpress.org/iseulde/
10
  * Text Domain: rename-wp-login
11
  * Domain Path:
12
  * Network:
247
 
248
  public function plugin_action_links( $links ) {
249
  if ( is_network_admin() && is_plugin_active_for_network( $this->basename() ) ) {
250
+ array_unshift( $links, '<a href="' . network_admin_url( 'settings.php#rwl-page-input' ) . '">' . __( 'Settings' ) . '</a>' );
251
  } elseif ( ! is_network_admin() ) {
252
+ array_unshift( $links, '<a href="' . admin_url( 'options-permalink.php#rwl-page-input' ) . '">' . __( 'Settings' ) . '</a>' );
253
  }
254
 
255
  return $links;
258
  public function plugins_loaded() {
259
  global $pagenow;
260
 
 
 
261
  if (
262
  ! is_multisite() && (
263
  strpos( $_SERVER['REQUEST_URI'], 'wp-signup' ) !== false ||