[wp-trac] [WordPress Trac] #53348: No form to log in when visiting wp-login.php with a given query string

WordPress Trac noreply at wordpress.org
Fri Apr 8 06:05:11 UTC 2022


#53348: No form to log in when visiting wp-login.php with a given query string
----------------------------------------------+----------------------------
 Reporter:  henry.wright                      |       Owner:
                                              |  SergeyBiryukov
     Type:  defect (bug)                      |      Status:  reviewing
 Priority:  normal                            |   Milestone:  Future
                                              |  Release
Component:  Login and Registration            |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  has-patch needs-unit-tests early  |     Focuses:
----------------------------------------------+----------------------------
Changes (by costdev):

 * keywords:  has-patch needs-testing => has-patch needs-unit-tests early
 * milestone:  6.0 => Future Release


Comment:

 == Test Report

 === Environment
 * Server: Apache (Linux)
 * WordPress: 6.0-alpha-52448-src
 * Browser: Chrome 100.0.4896.75
 * OS: Windows 10
 * Theme: Twenty Twenty
 * Plugins: None activated

 === Steps
 1. Navigate to `wp-login.php?checkemail=foo`. Notice that there is no
 login form. ✅
 2. Apply
 [https://core.trac.wordpress.org/attachment/ticket/53348/53348.diff
 53348.diff]. Notice that the login form appears. ✅

 === Results
 1. [https://core.trac.wordpress.org/attachment/ticket/53348/53348.diff
 53348.diff] successfully resolves the issue.

 === Notes
 - This would benefit from unit tests that set the `$_GET['checkemail']`
 value and test `did_action( 'login_init' )`, for example. Adding `needs-
 unit-tests`.
 - Per the discussion in the bug scrub, moving this to ''Future Release''
 as it was felt that it's too late in the 6.0 cycle to touch the login form
 and marking as `early`.

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


More information about the wp-trac mailing list