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
This commit is contained in:
parent
7e1caa5b44
commit
57f2930594
|
@ -1028,6 +1028,7 @@ function wp_redirect_admin_locations() {
|
||||||
|
|
||||||
$logins = array(
|
$logins = array(
|
||||||
home_url( 'wp-login.php', 'relative' ),
|
home_url( 'wp-login.php', 'relative' ),
|
||||||
|
home_url( 'login.php', 'relative' ),
|
||||||
home_url( 'login', 'relative' ),
|
home_url( 'login', 'relative' ),
|
||||||
site_url( 'login', 'relative' ),
|
site_url( 'login', 'relative' ),
|
||||||
);
|
);
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue