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

Follow-up to [52945].

Fixes #54746.
Built from https://develop.svn.wordpress.org/trunk@53313


git-svn-id: http://core.svn.wordpress.org/trunk@52902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-04-29 14:36:10 +00:00
parent a972e8131f
commit 4fc2b46aa0
2 changed files with 5 additions and 2 deletions

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-beta3-53312';
$wp_version = '6.0-beta3-53313';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

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();