Docs: Further clarify a comment for the main part of wp-login.php.

Follow-up to [52945].

Fixes #54746.

git-svn-id: https://develop.svn.wordpress.org/trunk@53313 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-04-29 14:35:01 +00:00
parent 2b0a984227
commit b840fb84ee

View File

@ -422,7 +422,10 @@ function wp_login_viewport_meta() {
<?php
}
// Check request and redirect.
/*
* Main part: check the request and redirect or display a form based on the current action.
*/
$action = isset( $_REQUEST['action'] ) ? $_REQUEST['action'] : 'login';
$errors = new WP_Error();