From 57f29305944b8fe7793ac788fa0507beabd1630b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 26 Sep 2023 16:11:20 +0000 Subject: [PATCH] Login and Registration: Add `/login.php` as an alias for the login page. This aims to make the login process more user-friendly. Follow-up to [19875], [19880]. Props lancewillett, subrataemfluence, tejwanihemant, ankit-k-gupta, devmuhib, audrasjb, hellofromTonya, joemcgill. Fixes #40762. Built from https://develop.svn.wordpress.org/trunk@56718 git-svn-id: http://core.svn.wordpress.org/trunk@56230 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/canonical.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php index 2f3cd68903..4913613084 100644 --- a/wp-includes/canonical.php +++ b/wp-includes/canonical.php @@ -1028,6 +1028,7 @@ function wp_redirect_admin_locations() { $logins = array( home_url( 'wp-login.php', 'relative' ), + home_url( 'login.php', 'relative' ), home_url( 'login', 'relative' ), site_url( 'login', 'relative' ), ); diff --git a/wp-includes/version.php b/wp-includes/version.php index b42d506292..1816321bee 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56717'; +$wp_version = '6.4-alpha-56718'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.