[wp-trac] [WordPress Trac] #40762: Login: add canonical admin shorthand URL for login.php

WordPress Trac noreply at wordpress.org
Thu Sep 14 08:55:24 UTC 2023


#40762: Login: add canonical admin shorthand URL for login.php
-------------------------------------+---------------------
 Reporter:  lancewillett             |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.4
Component:  Login and Registration   |     Version:  4.8
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by Ankit K Gupta):

 == Test Report ✅

 === Env
 * WordPress - 6.4-alpha-20230914.125438
 * Chrome Version - Version 116
 * OS -  macOS Monterey V12.3.1
 * Theme: Storefront Version: 4.2.0
 * PHP - 7.4.0
 * Web Server - Apache
 * Database - MySQL 5.7.28

 === Test result


 Tested the patch and the patch works fine.

 After the patch:

 'http://example.com/login.php' redirects to 'http://example.com/wp-
 login.php'

 'http://example.com/login' redirects to 'http://example.com/wp-login.php'

 Also checked on sub-domain sites like

 'http://example.com/tester/login.php' redirects to
 'http://example.com/tester/wp-login.php'

 **Video Demostration:**

 https://www.loom.com/share/876864d1d47f4022b86ef21631f94afb

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40762#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list